From 9004124a150588c3a991040861dede199757e8c9 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 29 Jul 2016 08:33:36 -0700 Subject: [PATCH] Fix indentation --- src/rustup-cli/rustup_mode.rs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/rustup-cli/rustup_mode.rs b/src/rustup-cli/rustup_mode.rs index 6df837286a..e9a680756c 100644 --- a/src/rustup-cli/rustup_mode.rs +++ b/src/rustup-cli/rustup_mode.rs @@ -634,19 +634,19 @@ fn doc(cfg: &Cfg, m: &ArgMatches) -> Result<()> { } fn man(cfg: &Cfg, m: &ArgMatches) -> Result<()> { -let manpage = m.value_of("command").expect(""); -let toolchain = try!(explicit_or_dir_toolchain(cfg, m)); -let mut man_path = toolchain.path().to_path_buf(); -man_path.push("share"); -man_path.push("man"); -man_path.push("man1"); -man_path.push(manpage.to_owned() + ".1"); -try!(utils::assert_is_file(&man_path)); -Command::new("man") - .arg(man_path) - .status() - .expect("failed to open man page"); -Ok(()) + let manpage = m.value_of("command").expect(""); + let toolchain = try!(explicit_or_dir_toolchain(cfg, m)); + let mut man_path = toolchain.path().to_path_buf(); + man_path.push("share"); + man_path.push("man"); + man_path.push("man1"); + man_path.push(manpage.to_owned() + ".1"); + try!(utils::assert_is_file(&man_path)); + Command::new("man") + .arg(man_path) + .status() + .expect("failed to open man page"); + Ok(()) } fn self_uninstall(m: &ArgMatches) -> Result<()> {