summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-08-03 17:34:49 +0200
committerNeal H. Walfield <neal@pep.foundation>2020-08-03 17:35:40 +0200
commitd6074cb926ef2adff6bb71569bd6a59e40afd641 (patch)
tree6c31d4ad09521fd3722ceb59679ca7e418020de7 /openpgp-ffi
parentdf2c629b439e197eed7a7fd3745069ae002f9205 (diff)
openpgp: Don't use doc comments with macros.
- rustc 1.43 considers this an error.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r--openpgp-ffi/src/parse/stream.rs28
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