Skip to content

Commit cf23bba

Browse files
committed
Actually move out of Box in moving-out-of-Box test
1 parent 91f1444 commit cf23bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/operator-expr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ let y = &mut 9;
186186
*y = 11;
187187
assert_eq!(*y, 11);
188188
let z = Box::new(NoCopy);
189-
let _: NoCopy = *z;
189+
let a: NoCopy = *z;
190190
```
191191

192192
r[expr.try]

0 commit comments

Comments
 (0)