chore(lib): fix new unused_mut warnings in nightly

This commit is contained in:
Sean McArthur
2017-08-11 15:07:49 -07:00
parent f2db365613
commit 2ea125e609
6 changed files with 9 additions and 9 deletions

View File

@@ -170,7 +170,7 @@ impl FromStr for Basic {
match decode(s) {
Ok(decoded) => match String::from_utf8(decoded) {
Ok(text) => {
let mut parts = &mut text.split(':');
let parts = &mut text.split(':');
let user = match parts.next() {
Some(part) => part.to_owned(),
None => return Err(::Error::Header)