Skip to content

Commit

Permalink
Add comment for Ord implementation for array
Browse files Browse the repository at this point in the history
  • Loading branch information
ldm0 committed May 6, 2020
1 parent ea733c3 commit 5087c1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcore/array/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ where
}
}

/// Implements comparison of arrays lexicographically.
#[stable(feature = "rust1", since = "1.0.0")]
impl<T: Ord, const N: usize> Ord for [T; N]
where
Expand Down

0 comments on commit 5087c1a

Please sign in to comment.