mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-14 14:46:37 +00:00
cargo fmt crate_version_source.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
563daa2bdd
commit
31a88f4124
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,8 @@
|
||||||
use std::{borrow::Cow, fmt::{self, Write as _}, str::FromStr};
|
use std::{
|
||||||
|
borrow::Cow,
|
||||||
|
fmt::{self, Write as _},
|
||||||
|
str::FromStr,
|
||||||
|
};
|
||||||
|
|
||||||
use binstalk_types::maybe_owned::MaybeOwned;
|
use binstalk_types::maybe_owned::MaybeOwned;
|
||||||
use compact_str::CompactString;
|
use compact_str::CompactString;
|
||||||
|
@ -136,7 +140,7 @@ impl fmt::Display for Source<'_> {
|
||||||
} else {
|
} else {
|
||||||
f.write_char('/')
|
f.write_char('/')
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue