Skip to content

Commit

Permalink
refactor: Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
siketyan committed Feb 14, 2023
1 parent 9e48c72 commit 6d78535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl<'a> Path<'a> {
match (host, owner) {
(false, true) => format!("{}/{}", self.owner, self.repo),
(true, false) => format!("{}:{}", self.host, self.repo),
(false, false) => format!("{}", self.repo),
(false, false) => self.repo.to_string(),
_ => format!("{}:{}/{}", self.host, self.owner, self.repo),
}
}
Expand Down

0 comments on commit 6d78535

Please sign in to comment.