summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/cstr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/cstr.rs')
-rw-r--r--vendor/rustix/src/cstr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/rustix/src/cstr.rs b/vendor/rustix/src/cstr.rs
index 0df1bf7cd..d32436e18 100644
--- a/vendor/rustix/src/cstr.rs
+++ b/vendor/rustix/src/cstr.rs
@@ -9,13 +9,13 @@
///
/// # Examples
///
-/// ```no_run
+/// ```
/// # #[cfg(feature = "fs")]
/// # fn main() -> rustix::io::Result<()> {
/// use rustix::cstr;
/// use rustix::fs::{statat, AtFlags, CWD};
///
-/// let metadata = statat(CWD, cstr!("test.txt"), AtFlags::empty())?;
+/// let metadata = statat(CWD, cstr!("Cargo.toml"), AtFlags::empty())?;
/// # Ok(())
/// # }
/// # #[cfg(not(feature = "fs"))]