Skip to content

Commit e5b6d43

Browse files
committed
fix various comment typos
1 parent 62fd1d5 commit e5b6d43

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

clippy_lints/src/legacy_numeric_constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ declare_clippy_lint! {
1717
/// `std::<float>::EPSILON`, etc.
1818
///
1919
/// ### Why is this bad?
20-
/// All of these have been superceded by the associated constants on their respective types,
20+
/// All of these have been superseded by the associated constants on their respective types,
2121
/// such as `i128::MAX`. These legacy items may be deprecated in a future version of rust.
2222
///
2323
/// ### Example

clippy_utils/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3285,7 +3285,7 @@ fn maybe_get_relative_path(from: &DefPath, to: &DefPath, max_super: usize) -> St
32853285
Right(r) => Right(r.data),
32863286
});
32873287

3288-
// 2. for the remaning segments, construct relative path using only mod names and `super`
3288+
// 2. for the remaining segments, construct relative path using only mod names and `super`
32893289
let mut go_up_by = 0;
32903290
let mut path = Vec::new();
32913291
for el in unique_parts {

tests/ui/unconditional_recursion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ struct S13 {
266266

267267
impl S13 {
268268
fn new() -> Self {
269-
// Shoud not warn!
269+
// Should not warn!
270270
Self::default()
271271
}
272272
}

0 commit comments

Comments
 (0)