docs/spell ~ spell-check and addition of exceptions

This commit is contained in:
Roy Ivy III
2020-05-27 16:54:21 -05:00
parent 9d3e655499
commit 9ed05ab513
11 changed files with 14 additions and 11 deletions
-2
View File
@@ -1,7 +1,5 @@
// features ~ feature-gated modules (core/bundler file)
// spell-checker:ignore (uucore/uutils) coreopts libc musl utmpx uucore uutils winapi
#[cfg(feature = "encoding")]
pub mod encoding;
#[cfg(feature = "fs")]
+2 -1
View File
@@ -4,7 +4,8 @@
//
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
//
// spell-checker:ignore () ABCDEFGHIJKLMNOPQRSTUVWXYZ
extern crate data_encoding;
extern crate failure;
+2
View File
@@ -5,6 +5,8 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
// spell-checker:ignore () Passwd cstr fnam gecos ngroups
//! Get password/group file entry
//!
//! # Examples:
+2 -1
View File
@@ -4,7 +4,8 @@
//
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
//
// spell-checker:ignore () fperm srwx umask
pub fn parse_numeric(fperm: u32, mut mode: &str) -> Result<u32, String> {
let (op, pos) = parse_op(mode, Some('='))?;
+2
View File
@@ -7,6 +7,8 @@
* file that was distributed with this source code.
*/
// spell-checker:ignore () NANOS fract numstr trunc
use std::time::Duration;
pub fn from_str(string: &str) -> Result<Duration, String> {
+2 -1
View File
@@ -5,7 +5,8 @@
//
// For the full copyright and license information, please view the LICENSE file
// that was distributed with this source code.
//
// spell-checker:ignore () cvar exitstatus WIFSIGNALED
use libc::{c_int, gid_t, pid_t, uid_t};
use std::fmt;
+3
View File
@@ -7,6 +7,9 @@
* that was distributed with this source code.
*/
// spell-checker:ignore (vars/api) fcntl setrlimit setitimer
// spell-checker:ignore (vars/signals) ABRT ALRM CHLD SEGV SIGABRT SIGALRM SIGBUS SIGCHLD SIGCONT SIGEMT SIGFPE SIGHUP SIGILL SIGINFO SIGINT SIGIO SIGIOT SIGKILL SIGPIPE SIGPROF SIGQUIT SIGSEGV SIGSTOP SIGSYS SIGTERM SIGTRAP SIGTSTP SIGTTIN SIGTTOU SIGURG SIGUSR SIGVTALRM SIGWINCH SIGXCPU SIGXFSZ STKFLT TSTP TTIN TTOU VTALRM XCPU XFSZ
pub static DEFAULT_SIGNAL: usize = 15;
pub struct Signal<'a> {
+1
View File
@@ -6,6 +6,7 @@
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use std::ffi::{OsStr, OsString};
use std::os::windows::ffi::{OsStrExt, OsStringExt};
pub trait ToWide {
-2
View File
@@ -1,6 +1,4 @@
// mods ~ cross-platforms modules (core/bundler file)
// spell-checker:ignore (uucore/uutils) coreopts libc musl utmpx uucore uutils winapi
pub mod coreopts;
pub mod panic;
-2
View File
@@ -1,5 +1,3 @@
// spell-checker:ignore () SIGPIPE maint uutils
use std::panic;
//## SIGPIPE handling background/discussions ...
-2
View File
@@ -3,8 +3,6 @@
extern crate proc_macro;
// spell-checker:ignore () SIGPIPE maint uucore uumain uutils
//## rust proc-macro background info
//* ref: <https://dev.to/naufraghi/procedural-macro-in-rust-101-k3f> @@ <http://archive.is/Vbr5e>
//* ref: [path construction from LitStr](https://oschwald.github.io/maxminddb-rust/syn/struct.LitStr.html) @@ <http://archive.is/8YDua>