diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2018-11-15 11:04:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-15 11:04:42 +0100 |
| commit | 66fcb3ceb2700ce0d05862305c56097a41f0e69f (patch) | |
| tree | 5cecff9465133e71511b7be14ffd0c627a85573e /src/libstd/sys | |
| parent | fb4553299ca2717e6c106cd6db36b7dc6c959aac (diff) | |
| parent | 4e35cbb22eceac145a6f794cde869b3684e0b1d5 (diff) | |
| download | rust-66fcb3ceb2700ce0d05862305c56097a41f0e69f.tar.gz rust-66fcb3ceb2700ce0d05862305c56097a41f0e69f.zip | |
Rollup merge of #55901 - euclio:speling, r=petrochenkov
fix various typos in doc comments
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/redox/fd.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/redox/syscall/call.rs | 4 | ||||
| -rw-r--r-- | src/libstd/sys/unix/fd.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/sys/redox/fd.rs b/src/libstd/sys/redox/fd.rs index d61103a872f..d62b09134bb 100644 --- a/src/libstd/sys/redox/fd.rs +++ b/src/libstd/sys/redox/fd.rs @@ -26,7 +26,7 @@ impl FileDesc { pub fn raw(&self) -> usize { self.fd } - /// Extracts the actual filedescriptor without closing it. + /// Extracts the actual file descriptor without closing it. pub fn into_raw(self) -> usize { let fd = self.fd; mem::forget(self); diff --git a/src/libstd/sys/redox/syscall/call.rs b/src/libstd/sys/redox/syscall/call.rs index 61cd97d6d43..577dde4b4be 100644 --- a/src/libstd/sys/redox/syscall/call.rs +++ b/src/libstd/sys/redox/syscall/call.rs @@ -45,7 +45,7 @@ pub unsafe fn brk(addr: usize) -> Result<usize> { /// # Errors /// /// * `EACCES` - permission is denied for one of the components of `path`, or `path` -/// * `EFAULT` - `path` does not point to the process's addressible memory +/// * `EFAULT` - `path` does not point to the process's addressable memory /// * `EIO` - an I/O error occurred /// * `ENOENT` - `path` does not exit /// * `ENOTDIR` - `path` is not a directory @@ -342,7 +342,7 @@ pub fn waitpid(pid: usize, status: &mut usize, options: usize) -> Result<usize> /// /// * `EAGAIN` - the file descriptor was opened with `O_NONBLOCK` and writing would block /// * `EBADF` - the file descriptor is not valid or is not open for writing -/// * `EFAULT` - `buf` does not point to the process's addressible memory +/// * `EFAULT` - `buf` does not point to the process's addressable memory /// * `EIO` - an I/O error occurred /// * `ENOSPC` - the device containing the file descriptor has no room for data /// * `EPIPE` - the file descriptor refers to a pipe or socket whose reading end is closed diff --git a/src/libstd/sys/unix/fd.rs b/src/libstd/sys/unix/fd.rs index af33d2636fb..5a81d6dfb67 100644 --- a/src/libstd/sys/unix/fd.rs +++ b/src/libstd/sys/unix/fd.rs @@ -46,7 +46,7 @@ impl FileDesc { pub fn raw(&self) -> c_int { self.fd } - /// Extracts the actual filedescriptor without closing it. + /// Extracts the actual file descriptor without closing it. pub fn into_raw(self) -> c_int { let fd = self.fd; mem::forget(self); |
