]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo saeled -> sealed
authorDavid Tolnay <dtolnay@gmail.com>
Mon, 11 Jan 2021 02:11:00 +0000 (18:11 -0800)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 13 Jan 2021 12:50:29 +0000 (12:50 +0000)
library/std/src/sys/unix/ext/process.rs
library/std/src/sys/windows/ext/process.rs

index a72417818d066fb5eebc4421fd0a8094c4d1e869..f4c67b225e6e19623e2e85f8f5e6497f931d283c 100644 (file)
@@ -172,7 +172,7 @@ fn arg0<S>(&mut self, arg: S) -> &mut process::Command
 
 /// Unix-specific extensions to [`process::ExitStatus`].
 ///
-/// This trait is saeled (since Rust 1.51): it cannot be implemented outside the standard library.
+/// This trait is sealed: it cannot be implemented outside the standard library.
 /// This is so that future additional methods are not breaking changes.
 #[stable(feature = "rust1", since = "1.0.0")]
 pub trait ExitStatusExt: private::Sealed {
index 300385e966d37d1a81e51c9c12406fc1e5cc5928..7a92381d6609b56d5a1042d350daff13711bb792 100644 (file)
@@ -82,7 +82,7 @@ fn into_raw_handle(self) -> RawHandle {
 
 /// Windows-specific extensions to [`process::ExitStatus`].
 ///
-/// This trait is saeled (since Rust 1.51): it cannot be implemented outside the standard library.
+/// This trait is sealed: it cannot be implemented outside the standard library.
 /// This is so that future additional methods are not breaking changes.
 #[stable(feature = "exit_status_from", since = "1.12.0")]
 pub trait ExitStatusExt: private::Sealed {