Skip to content

Commit 185c785

Browse files
authored
Fix typo
1 parent 6ebab74 commit 185c785

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/patch/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ fn update_dict(parent: &mut Hash, child: &Hash) -> Result<()> {
226226
if let Entry::Occupied(mut e) = parent.entry(key.clone()) {
227227
match e.get_mut() {
228228
el if el == val => {
229-
println!("In {key:?}: dublicate rule {val:?}, ignored");
229+
println!("In {key:?}: duplicate rule {val:?}, ignored");
230230
}
231231
Yaml::Array(a) => match val {
232232
Yaml::Array(val) => {
@@ -236,7 +236,7 @@ fn update_dict(parent: &mut Hash, child: &Hash) -> Result<()> {
236236
if !a.contains(val) {
237237
a.push(val.clone());
238238
} else {
239-
println!("In {key:?}: dublicate rule {val:?}, ignored");
239+
println!("In {key:?}: duplicate rule {val:?}, ignored");
240240
}
241241
}
242242
_ => {}
@@ -251,7 +251,7 @@ fn update_dict(parent: &mut Hash, child: &Hash) -> Result<()> {
251251
a.insert(0, s.clone());
252252
e.insert(Yaml::Array(a));
253253
} else {
254-
println!("In {key:?}: dublicate rule {s:?}, ignored");
254+
println!("In {key:?}: duplicate rule {s:?}, ignored");
255255
}
256256
}
257257
s2 if matches!(s2, Yaml::String(_)) => {

0 commit comments

Comments
 (0)