mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Rollup merge of #134985 - mgsloan:remove-unnecessary-qualification-in-Ord-trait-docs, r=Noratrieb
Remove qualification of `std::cmp::Ordering` in `Ord` doc
This commit is contained in:
@@ -796,7 +796,7 @@ fn clone_from(&mut self, source: &Self) {
|
||||
/// }
|
||||
///
|
||||
/// impl Ord for Character {
|
||||
/// fn cmp(&self, other: &Self) -> std::cmp::Ordering {
|
||||
/// fn cmp(&self, other: &Self) -> Ordering {
|
||||
/// self.experience
|
||||
/// .cmp(&other.experience)
|
||||
/// .then(self.health.cmp(&other.health))
|
||||
|
||||
Reference in New Issue
Block a user