aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_title.rs
diff options
context:
space:
mode:
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
///