fix doctest (fixup #24466)
This commit is contained in:
parent
695efb53d6
commit
88601f8d7d
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ println!("v[0] is: {}", v[0]);
|
|||
A similar thing happens if we define a function which takes ownership, and
|
||||
try to use something after we’ve passed it as an argument:
|
||||
|
||||
```rust
|
||||
```rust,ignore
|
||||
fn take(v: Vec<i32>) {
|
||||
// what happens here isn’t important.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue