1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-08 09:09:17 +01:00

Merge pull request #2017 from Nahor/main

Fix misleading test name
This commit is contained in:
Mo 2024-07-04 21:14:02 +02:00 committed by GitHub
commit 47f8199a99
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -7,7 +7,7 @@ mod tests {
// TODO: Fix the compiler errors only by reordering the lines in the test.
// Don't add, change or remove any line.
#[test]
fn move_semantics5() {
fn move_semantics4() {
let mut x = 100;
let y = &mut x;
let z = &mut x;