summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2021-08-23 16:55:26 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2021-08-27 12:58:07 +0200
commite5746684e84377dd8828f6a5a8ab4c0eec73c3ec (patch)
tree5261ba9f497ec5ce51d47198742919673de3c893
parent078c4d7ee16ea06977ec8cb7cf5571c880e9c710 (diff)
Convert markdown to intra-doc links.
- Apply cargo intraconv.
-rw-r--r--buffered-reader/src/generic.rs2
-rw-r--r--buffered-reader/src/lib.rs5
-rw-r--r--ffi-macros/src/lib.rs6
-rw-r--r--ffi/src/lib.rs4
-rw-r--r--ffi/src/store.rs2
-rw-r--r--ipc/src/assuan/mod.rs25
-rw-r--r--ipc/src/lib.rs4
-rw-r--r--net/src/wkd.rs4
-rw-r--r--openpgp-ffi/src/amalgamation.rs6
-rw-r--r--openpgp-ffi/src/armor.rs6
-rw-r--r--openpgp-ffi/src/cert.rs6
-rw-r--r--openpgp-ffi/src/crypto.rs2
-rw-r--r--openpgp-ffi/src/error.rs2
-rw-r--r--openpgp-ffi/src/fingerprint.rs4
-rw-r--r--openpgp-ffi/src/key_amalgamation.rs6
-rw-r--r--openpgp-ffi/src/keyid.rs4
-rw-r--r--openpgp-ffi/src/lib.rs22
-rw-r--r--openpgp-ffi/src/packet/key.rs2
-rw-r--r--openpgp-ffi/src/packet/literal.rs2
-rw-r--r--openpgp-ffi/src/packet/mod.rs2
-rw-r--r--openpgp-ffi/src/packet/signature.rs2
-rw-r--r--openpgp-ffi/src/packet/userid.rs2
-rw-r--r--openpgp-ffi/src/packet_pile.rs4
-rw-r--r--openpgp-ffi/src/parse/mod.rs10
-rw-r--r--openpgp-ffi/src/parse/stream.rs4
-rw-r--r--openpgp-ffi/src/policy.rs2
-rw-r--r--openpgp-ffi/src/serialize.rs4
-rw-r--r--openpgp-ffi/src/tsk.rs4
-rw-r--r--openpgp/src/cert.rs125
-rw-r--r--openpgp/src/cert/amalgamation.rs65
-rw-r--r--openpgp/src/cert/amalgamation/iter.rs25
-rw-r--r--openpgp/src/cert/amalgamation/key.rs84
-rw-r--r--openpgp/src/cert/amalgamation/key/iter.rs82
-rw-r--r--openpgp/src/cert/bindings.rs2
-rw-r--r--openpgp/src/cert/builder.rs42
-rw-r--r--openpgp/src/cert/bundle.rs43
-rw-r--r--openpgp/src/cert/parser/mod.rs16
-rw-r--r--openpgp/src/cert/revoke.rs12
-rw-r--r--openpgp/src/crypto/asymmetric.rs14
-rw-r--r--openpgp/src/crypto/backend/cng/hash.rs2
-rw-r--r--openpgp/src/crypto/backend/nettle.rs2
-rw-r--r--openpgp/src/crypto/backend/nettle/asymmetric.rs6
-rw-r--r--openpgp/src/crypto/backend/nettle/hash.rs2
-rw-r--r--openpgp/src/crypto/hash.rs16
-rw-r--r--openpgp/src/crypto/mem.rs4
-rw-r--r--openpgp/src/crypto/mod.rs16
-rw-r--r--openpgp/src/crypto/mpi.rs18
-rw-r--r--openpgp/src/crypto/s2k.rs9
-rw-r--r--openpgp/src/fingerprint.rs6
-rw-r--r--openpgp/src/keyhandle.rs4
-rw-r--r--openpgp/src/keyid.rs4
-rw-r--r--openpgp/src/message/mod.rs8
-rw-r--r--openpgp/src/packet/aed.rs6
-rw-r--r--openpgp/src/packet/container.rs30
-rw-r--r--openpgp/src/packet/header/ctb.rs8
-rw-r--r--openpgp/src/packet/header/mod.rs10
-rw-r--r--openpgp/src/packet/key.rs161
-rw-r--r--openpgp/src/packet/mod.rs146
-rw-r--r--openpgp/src/packet/signature.rs306
-rw-r--r--openpgp/src/packet/signature/subpacket.rs171
-rw-r--r--openpgp/src/packet/skesk.rs18
-rw-r--r--openpgp/src/packet/tag.rs2
-rw-r--r--openpgp/src/packet/unknown.rs2
-rw-r--r--openpgp/src/packet/user_attribute.rs4
-rw-r--r--openpgp/src/packet/userid.rs26
-rw-r--r--openpgp/src/packet_pile.rs2
-rw-r--r--openpgp/src/parse.rs131
-rw-r--r--openpgp/src/parse/hashed_reader.rs2
-rw-r--r--openpgp/src/parse/map.rs7
-rw-r--r--openpgp/src/parse/packet_parser_builder.rs16
-rw-r--r--openpgp/src/parse/packet_pile_parser.rs9
-rw-r--r--openpgp/src/parse/stream.rs116
-rw-r--r--openpgp/src/policy.rs34
-rw-r--r--openpgp/src/regex/mod.rs63
-rw-r--r--openpgp/src/seal.rs2
-rw-r--r--openpgp/src/serialize.rs72
-rw-r--r--openpgp/src/serialize/cert.rs10
-rw-r--r--openpgp/src/serialize/stream.rs86
-rw-r--r--openpgp/src/serialize/stream/padding.rs14
-rw-r--r--openpgp/src/types/compression_level.rs3
-rw-r--r--openpgp/src/types/features.rs2
-rw-r--r--openpgp/src/types/key_flags.rs2
-rw-r--r--openpgp/src/types/mod.rs14
-rw-r--r--openpgp/src/types/revocation_key.rs4
-rw-r--r--openpgp/src/types/server_preferences.rs6
-rw-r--r--openpgp/src/types/timestamp.rs8
-rw-r--r--store/src/lib.rs2
87 files changed, 996 insertions, 1254 deletions
diff --git a/buffered-reader/src/generic.rs b/buffered-reader/src/generic.rs
index aa72e1b4..eed96d5e 100644
--- a/buffered-reader/src/generic.rs
+++ b/buffered-reader/src/generic.rs
@@ -11,8 +11,6 @@ use super::*;
/// read from a file, use [`File`]. To read from a buffer, use
/// [`Memory`]. Both are more efficient than `Generic`.
///
-/// [`File`]: struct.File.html
-/// [`Memory`]: struct.Memory.html
pub struct Generic<T: io::Read + Send + Sync, C: fmt::Debug + Sync + Send> {
buffer: Option<Box<[u8]>>,
// The next byte to read in the buffer.
diff --git a/buffered-reader/src/lib.rs b/buffered-reader/src/lib.rs
index ed5a4724..918b7268 100644
--- a/buffered-reader/src/lib.rs
+++ b/buffered-reader/src/lib.rs
@@ -219,8 +219,8 @@
//! general-purpose parsers, like the `Zip`
//! decompressor.
//!
-//! [`BufRead`]: https://doc.rust-lang.org/stable/std/io/trait.BufRead.html
-//! [`BufReader`]: https://doc.rust-lang.org/stable/std/io/struct.BufReader.html
+//! [`BufRead`]: std::io::BufRead
+//! [`BufReader`]: std::io::BufReader
//! [HTTP's chunk transfer encoding]: https://en.wikipedia.org/wiki/Chunked_transfer_encoding
#![doc(html_favicon_url = "https://docs.sequoia-pgp.org/favicon.png")]
@@ -603,7 +603,6 @@ pub trait BufferedReader<C> : io::Read + fmt::Debug + fmt::Display + Send + Sync
/// iff the end of the stream is reached, but the reader is not
/// consummated.
///
- /// [`Limitor`]: struct.Limitor.html
fn consummated(&mut self) -> bool {
self.eof()
}
diff --git a/ffi-macros/src/lib.rs b/ffi-macros/src/lib.rs
index 29a49d85..a1088110 100644
--- a/ffi-macros/src/lib.rs
+++ b/ffi-macros/src/lib.rs
@@ -25,8 +25,8 @@ mod rust2c;
/// This macro is used to decorate every function exported from
/// Sequoia. It applies the following transformations:
///
-/// - [ffi_catch_abort](attr.ffi_catch_abort.html)
-/// - [cdecl](attr.cdecl.html)
+/// - [ffi_catch_abort]
+/// - [cdecl]
#[proc_macro_attribute]
pub fn extern_fn(attr: TokenStream, item: TokenStream) -> TokenStream {
cdecl(attr.clone(), ffi_catch_abort(attr, item))
@@ -104,7 +104,7 @@ fn doc(s: &str, ts: &mut TokenStream2) {
/// manner.
///
/// [undefined behavior]: https://doc.rust-lang.org/nomicon/unwinding.html
-/// [catch_unwind]: https://doc.rust-lang.org/std/panic/fn.catch_unwind.html
+/// [catch_unwind]: std::panic::catch_unwind()
///
/// # Examples
///
diff --git a/ffi/src/lib.rs b/ffi/src/lib.rs
index 1edf1493..40e3672e 100644
--- a/ffi/src/lib.rs
+++ b/ffi/src/lib.rs
@@ -38,12 +38,12 @@
//! use [`Box::into_raw(..)`]. From this moment on, ownership must be
//! managed by the C application.
//!
-//! [`Box::into_raw(..)`]: https://doc.rust-lang.org/std/boxed/struct.Box.html#method.into_raw
+//! [`Box::into_raw(..)`]: std::boxed::Box::into_raw()
//!
//! To transfer ownership from C to Rust, we re-create the box using
//! [`Box::from_raw(..)`].
//!
-//! [`Box::from_raw(..)`]: https://doc.rust-lang.org/std/boxed/struct.Box.html#method.from_raw
+//! [`Box::from_raw(..)`]: std::boxed::Box::from_raw()