Make move_semantics5 a test

pull/1641/head
mo8it 10 months ago
parent c663f06669
commit 64224d3918

@ -8,6 +8,7 @@
// I AM NOT DONE
#[test]
fn main() {
let mut x = 100;
let y = &mut x;

@ -340,7 +340,7 @@ So the end goal is to:
[[exercises]]
name = "move_semantics5"
path = "exercises/move_semantics/move_semantics5.rs"
mode = "compile"
mode = "test"
hint = """
Carefully reason about the range in which each mutable reference is in
scope. Does it help to update the value of referent (x) immediately after

Loading…
Cancel
Save