summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/backend/linux_raw/io/errno.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/backend/linux_raw/io/errno.rs')
-rw-r--r--vendor/rustix/src/backend/linux_raw/io/errno.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/rustix/src/backend/linux_raw/io/errno.rs b/vendor/rustix/src/backend/linux_raw/io/errno.rs
index b01910138..9db14d06e 100644
--- a/vendor/rustix/src/backend/linux_raw/io/errno.rs
+++ b/vendor/rustix/src/backend/linux_raw/io/errno.rs
@@ -60,7 +60,7 @@ impl Errno {
Self::from_errno(raw as u32)
}
- /// Convert from a C errno value (which is positive) to an `Errno`.
+ /// Convert from a C `errno` value (which is positive) to an `Errno`.
const fn from_errno(raw: u32) -> Self {
// We store error values in negated form, so that we don't have to negate
// them after every syscall.