File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2849,7 +2849,7 @@ declare_clippy_lint! {
28492849 /// the file is created from scratch, or ensure `truncate` is
28502850 /// called so that the truncation behaviour is explicit. `truncate(true)`
28512851 /// 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.
28532853 ///
28542854 /// ### Example
28552855 /// ```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 {
213213// Allow skipping imports containing user configured segments,
214214// i.e. "...::utils::...::*" if user put `allowed-wildcard-imports = ["utils"]` in `Clippy.toml`
215215fn 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
217217 // a single character in the config thus skipping most of the warnings.
218218 segments. iter ( ) . any ( |seg| allowed_segments. contains ( seg. ident . as_str ( ) ) )
219219}
You can’t perform that action at this time.
0 commit comments