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:
Matthias Krüger 2025-01-01 22:04:17 +01:00 committed by GitHub
commit fac31a1398
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -796,7 +796,7 @@ impl<T: Clone> Clone for Reverse<T> {
/// }
///
/// 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))