style: code style
This commit is contained in:
@@ -33,6 +33,6 @@ impl Parser {
|
||||
}
|
||||
|
||||
pub fn parse(&self, path: &str) {
|
||||
string_parser_with_file(path, self.get_keyword().as_str(), self.get_end_filter(), self.get_callback()).expect("failed to open file");
|
||||
string_parser_with_file(path, &self.get_keyword(), self.get_end_filter(), self.get_callback()).expect("failed to open file");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user