File tree 2 files changed +0
-10
lines changed
2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,6 @@ impl GitHub {
37
37
impl Host for GitHub {
38
38
fn name ( & self ) -> & str { "GitHub" }
39
39
40
- /// Get all GitHub gists belonging to given owner.
41
- fn gists ( & self , owner : & str ) -> Vec < Gist > {
42
- list_gists ( owner)
43
- }
44
-
45
40
/// Download the GitHub gist's repo & create the appropriate binary symlink.
46
41
///
47
42
/// If the gist hasn't been downloaded already, a clone of the gist's Git repo is performed.
Original file line number Diff line number Diff line change @@ -20,11 +20,6 @@ pub trait Host : Send + Sync {
20
20
// Returns a user-visible name of the gists' host.
21
21
fn name ( & self ) -> & str ;
22
22
23
- /// List all the gists of given owner.
24
- // TODO: change this to fn iter_gists(...) -> impl Iterator<Item=Gist>
25
- // when it's supported in stable Rust
26
- fn gists ( & self , owner : & str ) -> Vec < Gist > ;
27
-
28
23
/// Download a current version of the gist.
29
24
///
30
25
/// If the gist has been downloaded previously,
You can’t perform that action at this time.
0 commit comments