From 72fb3c77ac42052c3a58fa417d167ee2e2e03bbe Mon Sep 17 00:00:00 2001 From: Niyaz Nigmatullin Date: Mon, 11 Jul 2022 17:50:37 +0300 Subject: [PATCH] realpath: reformat using rustfmt --- src/uu/realpath/src/realpath.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/uu/realpath/src/realpath.rs b/src/uu/realpath/src/realpath.rs index aa4d4aad818..22f3df1974c 100644 --- a/src/uu/realpath/src/realpath.rs +++ b/src/uu/realpath/src/realpath.rs @@ -176,9 +176,7 @@ fn prepare_relative_options( resolve_mode: ResolveMode, ) -> UResult<(Option, Option)> { let relative_to = matches.value_of(OPT_RELATIVE_TO).map(PathBuf::from); - let relative_base = matches - .value_of(OPT_RELATIVE_BASE) - .map(PathBuf::from); + let relative_base = matches.value_of(OPT_RELATIVE_BASE).map(PathBuf::from); let relative_to = canonicalize_relative_option(relative_to, can_mode, resolve_mode)?; let relative_base = canonicalize_relative_option(relative_base, can_mode, resolve_mode)?; if let (Some(base), Some(to)) = (relative_base.as_deref(), relative_to.as_deref()) {