diff options
Diffstat (limited to 'std/option.zc')
| -rw-r--r-- | std/option.zc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/option.zc b/std/option.zc index 11b4428..4098c99 100644 --- a/std/option.zc +++ b/std/option.zc @@ -32,7 +32,7 @@ impl Option<T> { !"Panic: unwrap called on None"; exit(1); } - var v = self.val; + let v = self.val; memset(&self.val, 0, sizeof(T)); return v; } |
