Skip to content

Commit

Permalink
Merge pull request #260 from YuukiToriyama/feature/fix-clippy-warning
Browse files Browse the repository at this point in the history
clippyの警告対応をrelease/v0.1.0-beta.18にマージ
  • Loading branch information
YuukiToriyama authored May 5, 2024
2 parents 7a5a943 + 6e90b9b commit 9957c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/parser/adapter/vague_expression_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use nom::sequence::tuple;
pub struct VagueExpressionAdapter;

impl VagueExpressionAdapter {
pub fn apply(self, input: &str, region_name_list: &Vec<String>) -> Option<(String, String)> {
pub fn apply(self, input: &str, region_name_list: &[String]) -> Option<(String, String)> {
if let Ok(highest_match) =
SequenceMatcher::get_most_similar_match(input, region_name_list, None)
{
Expand Down

0 comments on commit 9957c3e

Please sign in to comment.