diff options
author | llogiq <bogusandre@gmail.com> | 2016-01-21 23:54:28 +0100 |
---|---|---|
committer | llogiq <bogusandre@gmail.com> | 2016-01-21 23:54:28 +0100 |
commit | ddadd94368341ace81292715445c2a28f67847b5 (patch) | |
tree | 5345ea056bbbe88cea281ce5154a19505ecef270 /src/main.rs | |
parent | 4d977bfb32ab91cbdee6ca5d1dfb325d381b2e2e (diff) |
fix a few warnings from rustc+clippy
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index a3daea6..b5ce386 100644 --- a/src/main.rs +++ b/src/main.rs @@ -161,7 +161,7 @@ enum Command { impl Command { fn run(self) -> CliResult<()> { - let argv: Vec<_> = env::args().map(|v| v.to_string()).collect(); + let argv: Vec<_> = env::args().map(|v| v.to_owned()).collect(); let argv: Vec<_> = argv.iter().map(|s| &**s).collect(); let argv = &*argv; match self { |