You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: git-function-history-lib/src/lib.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ pub enum Filter {
124
124
/// # examples
125
125
///
126
126
/// ```
127
-
/// use git_function_history::{get_function_history, Filter, FileFilterType, Language};
127
+
/// use git_function_history::{get_function_history, Filter, FileFilterType};
128
128
/// let t = get_function_history("empty_test", &FileFilterType::Absolute("src/test_functions.rs".to_string()), &Filter::None, function_grep::supported_languages::predefined_languages()).unwrap();
129
129
/// ```
130
130
///
@@ -445,7 +445,7 @@ impl Default for MacroOpts<'_, '_> {
445
445
///
446
446
/// # examples
447
447
/// ```rust
448
-
/// use git_function_history::{get_function_history, languages::Language, Filter, FileFilterType};
448
+
/// use git_function_history::{get_function_history, Filter, FileFilterType};
/// use git_function_history::{get_function_history, Filter, FileFilterType, Language};
317
+
/// use git_function_history::{get_function_history, Filter, FileFilterType};
318
318
///
319
-
/// let history = get_function_history("new", &FileFilterType::None, &Filter::None, &Language::Rust).unwrap();
319
+
/// let history = get_function_history("new", &FileFilterType::None, &Filter::None, function_grep::supported_languages::predefined_languages()).unwrap();
0 commit comments