-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix docs for new clippy lint #740
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
nightly-2024-09-10 | ||
nightly-2024-08-04 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -194,9 +194,13 @@ use crate::ffi::CPtr; | |
pub use crate::key::{InvalidParityValue, Keypair, Parity, PublicKey, SecretKey, XOnlyPublicKey}; | ||
pub use crate::scalar::Scalar; | ||
|
||
/// Trait describing something that promises to be a 32-byte random number; in particular, | ||
/// it has negligible probability of being zero or overflowing the group order. Such objects | ||
/// may be converted to `Message`s without any error paths. | ||
/// Trait describing something that promises to be a 32-byte uniformly random number. | ||
/// | ||
/// In particular, anything implementing this trait must have neglibile probability | ||
/// of being zero, overflowing the group order, or equalling any specific value. | ||
/// | ||
/// Since version 0.29 this has been deprecated; users should instead implement | ||
/// `Into<Message>` for types that satisfy these properties. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder when are we going to remove this entirely. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It was deprecated in April. Let's give it at least a year (unless it winds up blocking 1.0). I'd give it 2. It's self-contained and not hurting anything. |
||
#[deprecated( | ||
since = "0.29.0", | ||
note = "Please see v0.29.0 rust-secp256k1/CHANGELOG.md for suggestion" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we should've named the enum variants as such. :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#741