diff options
author | Teddy Wing | 2020-08-05 22:21:44 +0200 |
---|---|---|
committer | Teddy Wing | 2020-08-06 00:18:19 +0200 |
commit | a9c9d1c3a20af5779145dbba8cdfbf0d1fbb960f (patch) | |
tree | 045b3e594a5679e3867cb39037f968f0c93855f9 /src/owner_repo.rs | |
parent | fd63548311453520eef6d20908ff6fc8454d11df (diff) | |
download | git-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/owner_repo.rs')
-rw-r--r-- | src/owner_repo.rs | 6 |
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) |