diff options
author | Nathan Lilienthal <nathan@nixpulvis.com> | 2019-01-06 19:06:57 -0500 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-01-07 00:06:57 +0000 |
commit | 04707cbba630e3e4ad6b4200bef8ae7888c49e3b (patch) | |
tree | bd04f4964d4c4ad67cd565b38172b488172acfcc /winpty | |
parent | dfc30eeef5eb6df9f658e62875e5cde93173e37b (diff) | |
download | alacritty-04707cbba630e3e4ad6b4200bef8ae7888c49e3b.tar.gz alacritty-04707cbba630e3e4ad6b4200bef8ae7888c49e3b.zip |
Normalize Log Message Strings
The general style for errors, warnings and info messages is to start
with a capitalized letter and end without a period. The main exception
is when dealing with nouns that are clearer with special case handling,
e.g. "macOS failed to work" or "ioctl is borked".
Diffstat (limited to 'winpty')
-rw-r--r-- | winpty/src/windows.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/winpty/src/windows.rs b/winpty/src/windows.rs index 10a3df37..03a91a76 100644 --- a/winpty/src/windows.rs +++ b/winpty/src/windows.rs @@ -140,8 +140,8 @@ impl<'a> Drop for Config<'a> { pub struct Winpty<'a>(&'a mut winpty_t); impl<'a, 'b> Winpty<'a> { - /// Starts the agent. This process will connect to the agent - /// over a control pipe, and the agent will open data pipes + /// Starts the agent. This process will connect to the agent + /// over a control pipe, and the agent will open data pipes /// (e.g. CONIN and CONOUT). pub fn open(cfg: &Config) -> Result<Self, Err<'b>> { let mut err = null_mut() as *mut winpty_error_t; @@ -199,7 +199,7 @@ impl<'a, 'b> Winpty<'a> { } /// Change the size of the Windows console window. - /// + /// /// cols & rows MUST be greater than 0 pub fn set_size(&mut self, cols: u16, rows: u16) -> Result<(), Err> { assert!(cols > 0 && rows > 0); @@ -339,7 +339,7 @@ impl<'a> Drop for SpawnConfig<'a> { } } } - + #[cfg(test)] mod tests { extern crate named_pipe; |