File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,11 +37,6 @@ impl GitHub {
3737impl Host for GitHub {
3838 fn name ( & self ) -> & str { "GitHub" }
3939
40- /// Get all GitHub gists belonging to given owner.
41- fn gists ( & self , owner : & str ) -> Vec < Gist > {
42- list_gists ( owner)
43- }
44-
4540 /// Download the GitHub gist's repo & create the appropriate binary symlink.
4641 ///
4742 /// 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 {
2020 // Returns a user-visible name of the gists' host.
2121 fn name ( & self ) -> & str ;
2222
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-
2823 /// Download a current version of the gist.
2924 ///
3025 /// If the gist has been downloaded previously,
You can’t perform that action at this time.
0 commit comments