diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-08-03 17:34:49 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-08-03 17:35:40 +0200 |
commit | d6074cb926ef2adff6bb71569bd6a59e40afd641 (patch) | |
tree | 6c31d4ad09521fd3722ceb59679ca7e418020de7 /openpgp-ffi/src | |
parent | df2c629b439e197eed7a7fd3745069ae002f9205 (diff) |
openpgp: Don't use doc comments with macros.
- rustc 1.43 considers this an error.
Diffstat (limited to 'openpgp-ffi/src')
-rw-r--r-- | openpgp-ffi/src/parse/stream.rs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/openpgp-ffi/src/parse/stream.rs b/openpgp-ffi/src/parse/stream.rs index 28933a53..abcb76de 100644 --- a/openpgp-ffi/src/parse/stream.rs +++ b/openpgp-ffi/src/parse/stream.rs @@ -359,22 +359,22 @@ fn $fn_name<'a>( } } -/// Decomposes a -/// `VerificationResult::Err(VerificationError::BadKey { .. })`. -/// -/// Returns `true` iff the given value is a -/// `VerificationResult::Err(VerificationError::BadKey { .. })`, -/// and returns the variants members in `sig_r` and the like iff -/// `sig_r != NULL`. +// Decomposes a +// `VerificationResult::Err(VerificationError::BadKey { .. })`. +// +// Returns `true` iff the given value is a +// `VerificationResult::Err(VerificationError::BadKey { .. })`, +// and returns the variants members in `sig_r` and the like iff +// `sig_r != NULL`. make_decomposition_fn!(pgp_verification_result_bad_key, BadKey); -/// Decomposes a -/// `VerificationResult::Err(VerificationError::BadSignature { .. })`. -/// -/// Returns `true` iff the given value is a -/// `VerificationResult::Err(VerificationError::BadSignature { .. })`, -/// and returns the variants members in `sig_r` and the like iff -/// `sig_r != NULL`. +// Decomposes a +// `VerificationResult::Err(VerificationError::BadSignature { .. })`. +// +// Returns `true` iff the given value is a +// `VerificationResult::Err(VerificationError::BadSignature { .. })`, +// and returns the variants members in `sig_r` and the like iff +// `sig_r != NULL`. make_decomposition_fn!(pgp_verification_result_bad_signature, BadSignature); /// Passed as the first argument to the callbacks used by pgp_verify |