Skip to content

Commit

Permalink
Update src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Feickert <66188213+AaronFeickert@users.noreply.github.com>
  • Loading branch information
tarcieri and AaronFeickert authored Feb 8, 2024
1 parent 855cdd4 commit 4ffd51d
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 @@ -812,7 +812,7 @@ impl<T> CtOption<T> {
/// This implementation doesn't intend to be constant-time nor try to protect the
/// leakage of the `T` since the `Option<T>` will do it anyways.
///
/// It's equivalent to the corresponding `From` impl, however this version is is
/// It's equivalent to the corresponding `From` impl, however this version is
/// friendlier for type inference.
pub fn into_option(self) -> Option<T> {
self.into()
Expand Down

0 comments on commit 4ffd51d

Please sign in to comment.