From d6074cb926ef2adff6bb71569bd6a59e40afd641 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Mon, 3 Aug 2020 17:34:49 +0200 Subject: openpgp: Don't use doc comments with macros. - rustc 1.43 considers this an error. --- openpgp-ffi/src/parse/stream.rs | 28 ++++++++++++++-------------- 1 file 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 -- cgit v1.2.3