mirror of
https://github.com/jht5945/rust_util.git
synced 2025-12-29 16:40:05 +08:00
remove unused empty line
This commit is contained in:
@@ -114,7 +114,6 @@ pub fn new_box_ioerror(m: &str) -> Box<dyn std::error::Error> {
|
|||||||
Box::new(Error::new(ErrorKind::Other, m))
|
Box::new(Error::new(ErrorKind::Other, m))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pub fn parse_size(size: &str) -> XResult<i64> {
|
pub fn parse_size(size: &str) -> XResult<i64> {
|
||||||
let lower_size = size.to_lowercase();
|
let lower_size = size.to_lowercase();
|
||||||
let no_last_b_size = if lower_size.ends_with("b") {
|
let no_last_b_size = if lower_size.ends_with("b") {
|
||||||
|
|||||||
Reference in New Issue
Block a user