File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ fn update_dict(parent: &mut Hash, child: &Hash) -> Result<()> {
226
226
if let Entry :: Occupied ( mut e) = parent. entry ( key. clone ( ) ) {
227
227
match e. get_mut ( ) {
228
228
el if el == val => {
229
- println ! ( "In {key:?}: dublicate rule {val:?}, ignored" ) ;
229
+ println ! ( "In {key:?}: duplicate rule {val:?}, ignored" ) ;
230
230
}
231
231
Yaml :: Array ( a) => match val {
232
232
Yaml :: Array ( val) => {
@@ -236,7 +236,7 @@ fn update_dict(parent: &mut Hash, child: &Hash) -> Result<()> {
236
236
if !a. contains ( val) {
237
237
a. push ( val. clone ( ) ) ;
238
238
} else {
239
- println ! ( "In {key:?}: dublicate rule {val:?}, ignored" ) ;
239
+ println ! ( "In {key:?}: duplicate rule {val:?}, ignored" ) ;
240
240
}
241
241
}
242
242
_ => { }
@@ -251,7 +251,7 @@ fn update_dict(parent: &mut Hash, child: &Hash) -> Result<()> {
251
251
a. insert ( 0 , s. clone ( ) ) ;
252
252
e. insert ( Yaml :: Array ( a) ) ;
253
253
} else {
254
- println ! ( "In {key:?}: dublicate rule {s:?}, ignored" ) ;
254
+ println ! ( "In {key:?}: duplicate rule {s:?}, ignored" ) ;
255
255
}
256
256
}
257
257
s2 if matches ! ( s2, Yaml :: String ( _) ) => {
You can’t perform that action at this time.
0 commit comments