diff options
author | David Knaack <davidkna@users.noreply.github.com> | 2022-02-25 05:31:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-24 23:31:01 -0500 |
commit | 17453929091b1d9463f33e0b291436c9213c54d2 (patch) | |
tree | f4e3c9374365de01db094e2147c0bcb70e9694f0 /src/init/mod.rs | |
parent | 1a8aa96b7fb488cf6306900eda417deb51188f99 (diff) |
refactor: fix new clippy/compiler warnings (#3656)
Diffstat (limited to 'src/init/mod.rs')
-rw-r--r-- | src/init/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/mod.rs b/src/init/mod.rs index 9131ef682..477f1c0d3 100644 --- a/src/init/mod.rs +++ b/src/init/mod.rs @@ -43,7 +43,7 @@ impl StarshipPath { /// PowerShell specific path escaping fn sprint_pwsh(&self) -> io::Result<String> { self.str_path() - .map(|s| s.replace("'", "''")) + .map(|s| s.replace('\'', "''")) .map(|s| format!("'{}'", s)) } /// Command Shell specific path escaping |