readlink: follow clippy advice, add semicolon

This commit is contained in:
Niyaz Nigmatullin 2022-08-16 08:30:47 +03:00
parent 9c97b700ec
commit 0db17196ca

View file

@ -80,7 +80,7 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
}; };
match path_result { match path_result {
Ok(path) => { Ok(path) => {
show(&path, no_trailing_delimiter, use_zero).map_err_context(String::new)? show(&path, no_trailing_delimiter, use_zero).map_err_context(String::new)?;
} }
Err(err) => { Err(err) => {
if verbose { if verbose {