Skip to content

Commit 169d8e2

Browse files
committed
docs: Clarify Level::title vs Level::message
1 parent 7ec47b1 commit 169d8e2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/level.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ impl<'a> Level<'a> {
7373
}
7474

7575
impl<'a> Level<'a> {
76+
/// A text [`Element`][crate::Element] to start a [`Group`][crate::Group]
77+
///
78+
/// See [`Group::with_title`][crate::Group::with_title]
79+
///
7680
/// <div class="warning">
7781
///
7882
/// Text passed to this function is considered "untrusted input", as such
@@ -89,6 +93,8 @@ impl<'a> Level<'a> {
8993
}
9094
}
9195

96+
/// A text [`Element`][crate::Element] in a [`Group`][crate::Group]
97+
///
9298
/// <div class="warning">
9399
///
94100
/// Text passed to this function is allowed to be pre-styled, as such all

0 commit comments

Comments
 (0)