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