Skip to content

Commit

Permalink
Merge pull request #80 from siketyan/build/upgrade-rust
Browse files Browse the repository at this point in the history
build: Upgrade Rust to v1.67.1
  • Loading branch information
siketyan authored Feb 14, 2023
2 parents 20c856e + 6d78535 commit 22edb62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ license = "MIT"
homepage = "https://github.com/siketyan/ghr"
repository = "https://github.com/siketyan/ghr.git"
readme = "README.md"
rust-version = "1.67.1"
edition = "2021"
authors = [
"Naoki Ikeguchi <[email protected]>",
Expand Down
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 22edb62

Please sign in to comment.