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

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;