File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2849,7 +2849,7 @@ declare_clippy_lint! {
2849
2849
/// the file is created from scratch, or ensure `truncate` is
2850
2850
/// called so that the truncation behaviour is explicit. `truncate(true)`
2851
2851
/// will ensure the file is entirely overwritten with new data, whereas
2852
- /// `truncate(false)` will explicitely keep the default behavior.
2852
+ /// `truncate(false)` will explicitly keep the default behavior.
2853
2853
///
2854
2854
/// ### Example
2855
2855
/// ```rust,no_run
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ fn is_super_only_import(segments: &[PathSegment<'_>]) -> bool {
213
213
// Allow skipping imports containing user configured segments,
214
214
// i.e. "...::utils::...::*" if user put `allowed-wildcard-imports = ["utils"]` in `Clippy.toml`
215
215
fn is_allowed_via_config ( segments : & [ PathSegment < ' _ > ] , allowed_segments : & FxHashSet < String > ) -> bool {
216
- // segment matching need to be exact instead of using 'contains', in case user unintentionaly put
216
+ // segment matching need to be exact instead of using 'contains', in case user unintentionally put
217
217
// a single character in the config thus skipping most of the warnings.
218
218
segments. iter ( ) . any ( |seg| allowed_segments. contains ( seg. ident . as_str ( ) ) )
219
219
}
You can’t perform that action at this time.
0 commit comments