summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/io/errno.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/rustix/src/io/errno.rs')
-rw-r--r--vendor/rustix/src/io/errno.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/rustix/src/io/errno.rs b/vendor/rustix/src/io/errno.rs
index 7cb50f229..7640d3111 100644
--- a/vendor/rustix/src/io/errno.rs
+++ b/vendor/rustix/src/io/errno.rs
@@ -1,8 +1,8 @@
//! The `Errno` type, which is a minimal wrapper around an error code.
//!
-//! We define the error constants as individual `const`s instead of an
-//! enum because we may not know about all of the host's error values
-//! and we don't want unrecognized values to create UB.
+//! We define the error constants as individual `const`s instead of an enum
+//! because we may not know about all of the host's error values and we don't
+//! want unrecognized values to create undefined behavior.
use crate::backend;
use core::{fmt, result};