refactor: rename Substitutor.matcher_type to matcher

This commit is contained in:
Harsh Shandilya 2022-02-20 13:50:55 +05:30
parent 6c4b5f617b
commit 80e33e97e6
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@ pub struct Substitutor<'config> {
#[serde(default)]
pub name: &'config str,
#[serde(borrow, alias = "matcher")]
pub matcher_type: MatcherType<'config>,
pub matcher: MatcherType<'config>,
#[serde(borrow)]
pub action: Action<'config>,
}