From 81ce93574f62d4b117fdd79af65391f30316a457 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Tue, 5 May 2020 22:50:23 +0000 Subject: Extend style guideline documentation --- alacritty/src/cli.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'alacritty/src/cli.rs') diff --git a/alacritty/src/cli.rs b/alacritty/src/cli.rs index 2137c9c8..5f6b7804 100644 --- a/alacritty/src/cli.rs +++ b/alacritty/src/cli.rs @@ -30,7 +30,7 @@ const CONFIG_PATH: &str = "%APPDATA%\\alacritty\\alacritty.yml"; #[cfg(target_os = "macos")] const CONFIG_PATH: &str = "$HOME/.config/alacritty/alacritty.yml"; -/// Options specified on the command line +/// Options specified on the command line. pub struct Options { pub live_config_reload: Option, pub print_events: bool, @@ -241,8 +241,8 @@ impl Options { if let Some(mut args) = matches.values_of("command") { // The following unwrap is guaranteed to succeed. - // If 'command' exists it must also have a first item since - // Arg::min_values(1) is set. + // If `command` exists it must also have a first item since + // `Arg::min_values(1)` is set. let command = String::from(args.next().unwrap()); let args = args.map(String::from).collect(); options.command = Some(Shell::new_with_args(command, args)); -- cgit