diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-10-26 21:02:48 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-10-30 10:13:39 -0400 |
| commit | 57c6ed0c07aaea9c89a192e54b3274464ebe6fbf (patch) | |
| tree | 98a2c0310690cf0c09851cb5a12a99264bbbf522 /compiler/rustc_codegen_llvm/src/back | |
| parent | bfecb18771aa0249efe05dd7c35fa232f180bb70 (diff) | |
Fix even more clippy warnings
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/back/lto.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/lto.rs b/compiler/rustc_codegen_llvm/src/back/lto.rs index ff312bade25..64fd1d09cc2 100644 --- a/compiler/rustc_codegen_llvm/src/back/lto.rs +++ b/compiler/rustc_codegen_llvm/src/back/lto.rs @@ -900,7 +900,7 @@ impl ThinLTOKeysMap { let file = File::open(path)?; for line in io::BufReader::new(file).lines() { let line = line?; - let mut split = line.split(" "); + let mut split = line.split(' '); let module = split.next().unwrap(); let key = split.next().unwrap(); assert_eq!(split.next(), None, "Expected two space-separated values, found {:?}", line); |
