add import (fixup #24649)
This commit is contained in:
parent
9316b0382b
commit
3e67b6bb6c
@ -1245,6 +1245,8 @@ fn as_u8_slice(&self) -> &[u8] {
|
||||
/// You can create `Path`s from `String`s, or even other `Path`s:
|
||||
///
|
||||
/// ```
|
||||
/// use std::path::Path;
|
||||
///
|
||||
/// let s = String::from("bar.txt");
|
||||
/// let p = Path::new(&s);
|
||||
/// Path::new(&p);
|
||||
|
Loading…
Reference in New Issue
Block a user