Skip to content

Commit

Permalink
Fix docs on Either<&mut L, &mut R>::copied
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Stone <cuviper@gmail.com>
  • Loading branch information
ColonelThirtyTwo and cuviper committed Jun 25, 2024
1 parent 8e62690 commit e31810d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ impl<L, R> Either<&mut L, &mut R> {
}
}

/// Maps an `Either<&L, &R>` to an `Either<L, R>` by copying the contents of
/// Maps an `Either<&mut L, &mut R>` to an `Either<L, R>` by copying the contents of
/// either branch.
pub fn copied(self) -> Either<L, R>
where
Expand Down

0 comments on commit e31810d

Please sign in to comment.