diff options
Diffstat (limited to 'src/suggestion.rs')
-rw-r--r-- | src/suggestion.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/suggestion.rs b/src/suggestion.rs index fc22a7c..9f23a0d 100644 --- a/src/suggestion.rs +++ b/src/suggestion.rs @@ -9,6 +9,8 @@ use crate::arg::is_suggestion_id; use crate::config::Config; +/// For all suggestions in `config.suggestions`, fetch the suggestion from the +/// API and call `f` with it. pub fn for_suggestion<F>(config: &Config, f: F) where F: Fn(&Suggestion) { |