summaryrefslogtreecommitdiffstats
path: root/src/shell_install/bash.rs
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2020-01-20 22:11:38 +0100
committerCanop <cano.petrole@gmail.com>2020-01-20 22:11:38 +0100
commitec5220711e02c63a4832f984ae788958b3133d18 (patch)
tree822dacfb3a6c34809291bbd37cac5c958691dc31 /src/shell_install/bash.rs
parent7ccda47e5044ec2b56b1b6deb4ecdd82eacae9ff (diff)
minor code fmt changes
Diffstat (limited to 'src/shell_install/bash.rs')
-rw-r--r--src/shell_install/bash.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/shell_install/bash.rs b/src/shell_install/bash.rs
index ac4ecf0..0ace0a3 100644
--- a/src/shell_install/bash.rs
+++ b/src/shell_install/bash.rs
@@ -148,7 +148,11 @@ pub fn install(si: &mut ShellInstall) -> Result<(), ProgramError> {
for sourcing_path in &sourcing_paths {
let sourcing_path_str = sourcing_path.to_string_lossy();
if util::file_contains_line(sourcing_path, &source_line)? {
- mad_print_inline!(&si.skin, "`$0` already patched, no change made.\n", &sourcing_path_str);
+ mad_print_inline!(
+ &si.skin,
+ "`$0` already patched, no change made.\n",
+ &sourcing_path_str
+ );
} else {
let mut shellrc = OpenOptions::new()
.write(true)