1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-07-13 01:20:42 +02: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

View File

@ -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;