Skip to content

Commit

Permalink
Fix mistake in documentation for min() in vec.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
AnEnigmaticBug committed Apr 3, 2022
1 parent 8fe2419 commit 6ae66a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ macro_rules! impl_vecn_common_methods {

/// Returns a vector containing the minimum values for each element of `self` and `other`.
///
/// In other words this computes `[self.x.max(other.x), self.y.max(other.y), ..]`.
/// In other words this computes `[self.x.min(other.x), self.y.min(other.y), ..]`.
#[inline(always)]
pub fn min(self, other: Self) -> Self {
Self(self.0.min(other.0))
Expand Down

0 comments on commit 6ae66a2

Please sign in to comment.