fix various comment typos
This commit is contained in:
parent
62fd1d5377
commit
e5b6d433fb
@ -17,7 +17,7 @@
|
|||||||
/// `std::<float>::EPSILON`, etc.
|
/// `std::<float>::EPSILON`, etc.
|
||||||
///
|
///
|
||||||
/// ### Why is this bad?
|
/// ### Why is this bad?
|
||||||
/// All of these have been superceded by the associated constants on their respective types,
|
/// All of these have been superseded by the associated constants on their respective types,
|
||||||
/// such as `i128::MAX`. These legacy items may be deprecated in a future version of rust.
|
/// such as `i128::MAX`. These legacy items may be deprecated in a future version of rust.
|
||||||
///
|
///
|
||||||
/// ### Example
|
/// ### Example
|
||||||
|
@ -3285,7 +3285,7 @@ fn maybe_get_relative_path(from: &DefPath, to: &DefPath, max_super: usize) -> St
|
|||||||
Right(r) => Right(r.data),
|
Right(r) => Right(r.data),
|
||||||
});
|
});
|
||||||
|
|
||||||
// 2. for the remaning segments, construct relative path using only mod names and `super`
|
// 2. for the remaining segments, construct relative path using only mod names and `super`
|
||||||
let mut go_up_by = 0;
|
let mut go_up_by = 0;
|
||||||
let mut path = Vec::new();
|
let mut path = Vec::new();
|
||||||
for el in unique_parts {
|
for el in unique_parts {
|
||||||
|
@ -266,7 +266,7 @@ struct S13 {
|
|||||||
|
|
||||||
impl S13 {
|
impl S13 {
|
||||||
fn new() -> Self {
|
fn new() -> Self {
|
||||||
// Shoud not warn!
|
// Should not warn!
|
||||||
Self::default()
|
Self::default()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user