mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 23:56:37 +00:00
Fix compilation
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
5a8692f1d6
commit
de704a7dc8
1 changed files with 1 additions and 0 deletions
|
@ -200,6 +200,7 @@ impl Registry {
|
|||
impl fmt::Display for Registry {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
match self {
|
||||
#[cfg(feature = "git")]
|
||||
Registry::Git(registry) => fmt::Display::fmt(®istry.url(), f),
|
||||
Registry::Sparse(registry) => fmt::Display::fmt(®istry.url(), f),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue