aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_title.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-05 09:45:30 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-05 09:45:30 +0200
commit1baad17d92108de592905f8c69bf29fbec02a57b (patch)
tree45e0d72d7a7f1439aa99a07eee3b919a258dd9f8 /src/construct/partial_title.rs
parent63d8645773ee0bf34363e46384ff1149c985bf28 (diff)
downloadmarkdown-rs-1baad17d92108de592905f8c69bf29fbec02a57b.tar.gz
markdown-rs-1baad17d92108de592905f8c69bf29fbec02a57b.tar.bz2
markdown-rs-1baad17d92108de592905f8c69bf29fbec02a57b.zip
Add docs to attention
Diffstat (limited to '')
-rw-r--r--src/construct/partial_title.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/construct/partial_title.rs b/src/construct/partial_title.rs
index 3d0bfb6..caacb0d 100644
--- a/src/construct/partial_title.rs
+++ b/src/construct/partial_title.rs
@@ -79,7 +79,7 @@ enum Kind {
impl Kind {
/// Turn the kind into a [char].
///
- /// > 👉 **Note**: a closing paren is used.
+ /// > 👉 **Note**: a closing paren is used for `Kind::Paren`.
fn as_char(&self) -> char {
match self {
Kind::Paren => ')',
@@ -89,7 +89,7 @@ impl Kind {
}
/// Turn a [char] into a kind.
///
- /// > 👉 **Note**: an opening paren must be used.
+ /// > 👉 **Note**: an opening paren must be used for `Kind::Paren`.
///
/// ## Panics
///