fix: clippy fixes
This commit is contained in:
parent
030129a746
commit
a605c3499a
1 changed files with 4 additions and 4 deletions
|
@ -253,11 +253,11 @@ pub enum RepoState {
|
|||
},
|
||||
}
|
||||
impl RepoState {
|
||||
pub fn repo_alias(&self) -> &RepoAlias {
|
||||
pub const fn repo_alias(&self) -> &RepoAlias {
|
||||
match self {
|
||||
RepoState::Identified { repo_alias, .. }
|
||||
| RepoState::Configured { repo_alias, .. }
|
||||
| RepoState::Ready { repo_alias, .. } => repo_alias,
|
||||
Self::Identified { repo_alias, .. }
|
||||
| Self::Configured { repo_alias, .. }
|
||||
| Self::Ready { repo_alias, .. } => repo_alias,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue