From 1e98157811d430cbbf772394410ea31b7976acb6 Mon Sep 17 00:00:00 2001 From: Peter <49501366+ZeroIntensity@users.noreply.github.com> Date: Tue, 7 May 2024 18:11:27 -0400 Subject: [PATCH] Delete a.py --- a.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 a.py diff --git a/a.py b/a.py deleted file mode 100644 index e40c547..0000000 --- a/a.py +++ /dev/null @@ -1,13 +0,0 @@ -from pointers import Reference, MutReference, ref - -my_value = ref(0) - -def test(my_ref: MutReference[int]) -> None: - print(f"now borrowing mutable {my_ref}") - my_ref <<= 1 - -with my_value.mut(): - my_value <<= 2 - -test(my_value.mut()) -print(~my_value) # 1 \ No newline at end of file