Skip to content

Commit 88601f8

Browse files
committed
fix doctest (fixup #24466)
1 parent 695efb5 commit 88601f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/move-semantics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ println!("v[0] is: {}", v[0]);
4040
A similar thing happens if we define a function which takes ownership, and
4141
try to use something after we’ve passed it as an argument:
4242

43-
```rust
43+
```rust,ignore
4444
fn take(v: Vec<i32>) {
4545
// what happens here isn’t important.
4646
}

0 commit comments

Comments
 (0)