summaryrefslogtreecommitdiffstats
path: root/openpgp/src/message/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/message/mod.rs')
-rw-r--r--openpgp/src/message/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/message/mod.rs b/openpgp/src/message/mod.rs
index 9c30f74f..b0763669 100644
--- a/openpgp/src/message/mod.rs
+++ b/openpgp/src/message/mod.rs
@@ -167,8 +167,8 @@ impl MessageValidator {
/// Add the token `token` at position `path` to the token stream.
///
- /// Note: top-level packets are at `[ n ]`, their immediate
- /// children are at `[ n, m ]`, etc.
+ /// Note: top-level packets are at `[n]`, their immediate
+ /// children are at `[n, m]`, etc.
///
/// This function pushes any required `Token::Pop` tokens based on
/// changes in the `path`.
@@ -200,8 +200,8 @@ impl MessageValidator {
/// Add a packet of type `tag` at position `path` to the token
/// stream.
///
- /// Note: top-level packets are at `[ n ]`, their immediate
- /// children are at `[ n, m ]`, etc.
+ /// Note: top-level packets are at `[n]`, their immediate
+ /// children are at `[n, m]`, etc.
///
/// Unlike `push_token`, this function does not automatically
/// account for changes in the depth. If you use this function