Skip to content

Commit 2d708a8

Browse files
committed
add no run to new example
1 parent a686481 commit 2d708a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2550,7 +2550,7 @@ impl Path {
25502550
/// ```
25512551
///
25522552
/// if the path is a directory, the function will always return the complete filename
2553-
/// ```
2553+
/// ```no_run
25542554
/// use std::path::Path;
25552555
///
25562556
/// assert_eq!("2024.11.23_directory", Path::new("2024.11.23_directory").file_stem().unwrap());

0 commit comments

Comments
 (0)