aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2020-08-05 22:21:44 +0200
committerTeddy Wing2020-08-06 00:18:19 +0200
commita9c9d1c3a20af5779145dbba8cdfbf0d1fbb960f (patch)
tree045b3e594a5679e3867cb39037f968f0c93855f9 /src
parentfd63548311453520eef6d20908ff6fc8454d11df (diff)
downloadgit-suggestion-a9c9d1c3a20af5779145dbba8cdfbf0d1fbb960f.tar.bz2
Rename the project `git-suggestion`
Since this is a Git command, this makes more sense to me.
Diffstat (limited to 'src')
-rw-r--r--src/owner_repo.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/owner_repo.rs b/src/owner_repo.rs
index 273ef6f..04839fc 100644
--- a/src/owner_repo.rs
+++ b/src/owner_repo.rs
@@ -56,8 +56,8 @@ pub struct OwnerRepo {
}
/// Parse an owner-repo pair from a Git remote. Can be either an HTTP URL
-/// (`https://github.com/teddywing/github-suggestion.git`) or an SSH-style
-/// reference (`git@github.com:teddywing/github-suggestion.git`).
+/// (`https://github.com/teddywing/git-suggestion.git`) or an SSH-style
+/// reference (`git@github.com:teddywing/git-suggestion.git`).
impl FromStr for OwnerRepo {
type Err = OwnerRepoError;
@@ -108,7 +108,7 @@ impl OwnerRepo {
}
/// Parse an `OwnerRepo` from an SSH-style reference
- /// (`git@github.com:teddywing/github-suggestion.git`).
+ /// (`git@github.com:teddywing/git-suggestion.git`).
pub fn from_ssh(ssh: &str) -> Result<Self, OwnerRepoError> {
let address_path: Vec<_> = ssh.splitn(2, ':').collect();
let path = address_path.get(1)