From c33ab0e378d37fe901fecd954d8c57a192d2a77b Mon Sep 17 00:00:00 2001 From: Arcterus Date: Mon, 16 Jun 2014 15:55:39 -0700 Subject: [PATCH] chroot: remove a couple more braces --- chroot/chroot.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chroot/chroot.rs b/chroot/chroot.rs index cf73610d8..2f27ce582 100644 --- a/chroot/chroot.rs +++ b/chroot/chroot.rs @@ -74,8 +74,8 @@ pub fn uumain(args: Vec) -> int { let command: Vec<&str> = match opts.free.len() { 1 => { let shell: &str = match userShell { - None => {defaultShell} - Some(ref s) => {s.as_slice()} + None => defaultShell, + Some(ref s) => s.as_slice() }; vec!(shell, defaultOption) }