Fixed some warnings #11
@@ -224,10 +224,10 @@ mod embedded {
|
|||||||
|
|
||||||
return Ok(buffer);
|
return Ok(buffer);
|
||||||
} else {
|
} else {
|
||||||
return Err(std::io::Error::new(
|
Err(std::io::Error::new(
|
||||||
std::io::ErrorKind::Other,
|
std::io::ErrorKind::Other,
|
||||||
"Could not access last character of directory",
|
"Could not access last character of directory",
|
||||||
));
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -249,9 +249,7 @@ mod embedded {
|
|||||||
Ok(buffer)
|
Ok(buffer)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(er) => {
|
Err(er) => Err(er),
|
||||||
Err(er)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user