We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88072d6 commit 453a88fCopy full SHA for 453a88f
src/snippet.rs
@@ -43,6 +43,13 @@ impl<'a> Group<'a> {
43
}
44
45
/// Create a title-less group with a primary [`Level`] for [`Annotation`]s
46
+ ///
47
+ /// # Example
48
49
+ /// ```rust
50
+ #[doc = include_str!("../examples/elide_header.rs")]
51
+ /// ```
52
+ #[doc = include_str!("../examples/elide_header.svg")]
53
pub fn with_level(level: Level<'a>) -> Self {
54
Self {
55
primary_level: level,
0 commit comments