Skip to content

Commit 64224d3

Browse files
committed
Make move_semantics5 a test
1 parent c663f06 commit 64224d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

exercises/move_semantics/move_semantics5.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
// I AM NOT DONE
1010

11+
#[test]
1112
fn main() {
1213
let mut x = 100;
1314
let y = &mut x;

info.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ So the end goal is to:
340340
[[exercises]]
341341
name = "move_semantics5"
342342
path = "exercises/move_semantics/move_semantics5.rs"
343-
mode = "compile"
343+
mode = "test"
344344
hint = """
345345
Carefully reason about the range in which each mutable reference is in
346346
scope. Does it help to update the value of referent (x) immediately after

0 commit comments

Comments
 (0)