We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5415da commit db0d826Copy full SHA for db0d826
function-grep/src/lib.rs
@@ -86,7 +86,7 @@ pub fn get_file_type_from_file_ext<'a>(
86
/// If there is no file extension for this file name, or there is no language for this file in the provided language list.
87
pub fn get_file_type_from_file<'a>(
88
file_name: &str,
89
- langs: &'a [ InstantiatedLanguage<'a>],
+ langs: &'a [InstantiatedLanguage<'a>],
90
) -> Result<&'a InstantiatedLanguage<'a>, Error> {
91
file_name
92
.rsplit_once('.')
0 commit comments