diff options
| author | bors <bors@rust-lang.org> | 2017-08-12 05:52:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-08-12 05:52:19 +0000 |
| commit | bffc973da8a7045d6ad5c678eab6fd57ab49ed54 (patch) | |
| tree | c82789a97e71ccb047782f41ffc96b7500f78706 /src/libstd/sys | |
| parent | 2fa5340318111d562af2ef4897c75916731d55a2 (diff) | |
| parent | ea5be96bab45a68d5877acdfab88404df7376209 (diff) | |
| download | rust-bffc973da8a7045d6ad5c678eab6fd57ab49ed54.tar.gz rust-bffc973da8a7045d6ad5c678eab6fd57ab49ed54.zip | |
Auto merge of #43794 - Eijebong:fix_typos, r=lukaramu,steveklanik,imperio
Fix some typos I wrote a really naive script and found those typos in the documentation.
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/redox/syscall/call.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/redox/syscall/call.rs b/src/libstd/sys/redox/syscall/call.rs index ec9005c2cc3..9fc809eb821 100644 --- a/src/libstd/sys/redox/syscall/call.rs +++ b/src/libstd/sys/redox/syscall/call.rs @@ -40,7 +40,7 @@ pub unsafe fn brk(addr: usize) -> Result<usize> { /// /// * `EACCES` - permission is denied for one of the components of `path`, or `path` /// * `EFAULT` - `path` does not point to the process's addressible memory -/// * `EIO` - an I/O error occured +/// * `EIO` - an I/O error occurred /// * `ENOENT` - `path` does not exit /// * `ENOTDIR` - `path` is not a directory pub fn chdir(path: &str) -> Result<usize> { @@ -290,7 +290,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 -/// * `EIO` - an I/O error occured +/// * `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 pub fn write(fd: usize, buf: &[u8]) -> Result<usize> { |
