Skip to content

Commit 67ab53d

Browse files
Update library/core/tests/future.rs
Co-authored-by: Daniel Henry-Mantilla <[email protected]>
1 parent f8dc13d commit 67ab53d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/tests/future.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ mod test_join_function_like_value_arg_semantics {
7878
fn _join_does_not_unnecessarily_move_mentioned_bindings() {
7979
let not_copy = vec![()];
8080
let _ = join!(async_fn(&not_copy)); // should not move `not_copy`
81-
let _ = not_copy; // OK
81+
let _ = &not_copy; // OK
8282
}
8383

8484
#[test]

0 commit comments

Comments
 (0)