refactor: remove unused Forge Deref implementation
This commit is contained in:
parent
3b7c63b169
commit
f918394703
1 changed files with 0 additions and 12 deletions
|
@ -27,18 +27,6 @@ impl Forge {
|
|||
}
|
||||
}
|
||||
}
|
||||
impl std::ops::Deref for Forge {
|
||||
type Target = dyn git::ForgeLike;
|
||||
fn deref(&self) -> &Self::Target {
|
||||
match self {
|
||||
Self::Mock => unreachable!(),
|
||||
#[cfg(feature = "forgejo")]
|
||||
Self::ForgeJo(env) => env,
|
||||
#[cfg(feature = "github")]
|
||||
Self::Github(env) => env,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub mod tests;
|
||||
|
|
Loading…
Reference in a new issue