core: remove unused 'mut' variables
This commit is contained in:
parent
d1985c9dd0
commit
13537d2e0c
13 changed files with 18 additions and 18 deletions
|
@ -844,7 +844,7 @@ pub mod windows {
|
|||
while i < s.len() {
|
||||
if is_sep(s[i]) {
|
||||
let pre = s.slice(2, i).to_owned();
|
||||
let mut rest = s.slice(i, s.len()).to_owned();
|
||||
let rest = s.slice(i, s.len()).to_owned();
|
||||
return Some((pre, rest));
|
||||
}
|
||||
i += 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue