diff options
author | notgne2 | 2021-01-08 18:28:45 -0700 |
---|---|---|
committer | notgne2 | 2021-01-08 18:28:45 -0700 |
commit | 1789551855a8290caad59d3849bab16c56158c70 (patch) | |
tree | 2dbd325d2aa78664f42071a8a1b3278418068ff6 /src/lib.rs | |
parent | 70c55363a91572790ba5d49b70c58040f112e55c (diff) |
Fix trivial lint issues
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ extern crate serde_derive; pub fn make_lock_path(temp_path: &str, closure: &str) -> String { let lock_hash = - &closure["/nix/store/".len()..closure.find("-").unwrap_or_else(|| closure.len())]; + &closure["/nix/store/".len()..closure.find('-').unwrap_or_else(|| closure.len())]; format!("{}/deploy-rs-canary-{}", temp_path, lock_hash) } |