refactor: remove &Option<T> where used

This commit is contained in:
Amaan Qureshi 2023-09-01 17:01:39 -04:00
parent 293f0d1ca3
commit dc5ec1cf53
No known key found for this signature in database
GPG key ID: E67890ADC4227273
3 changed files with 25 additions and 25 deletions

View file

@ -88,7 +88,7 @@ pub fn get_test_language(name: &str, parser_code: &str, path: Option<&Path>) ->
}
});
TEST_LOADER
.load_language_from_sources(name, &HEADER_DIR, &parser_c_path, &scanner_path)
.load_language_from_sources(name, &HEADER_DIR, &parser_c_path, scanner_path.as_deref())
.unwrap()
}