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 da5100c commit 88072d6Copy full SHA for 88072d6
src/snippet.rs
@@ -22,6 +22,13 @@ pub(crate) struct Id<'a> {
22
/// A [diagnostic][crate::Renderer::render] is made of several `Group`s.
23
/// `Group`s are used to [annotate][AnnotationKind::Primary] [`Snippet`]s
24
/// with different [semantic reasons][Title].
25
+///
26
+/// # Example
27
28
+/// ```rust
29
+#[doc = include_str!("../examples/highlight_message.rs")]
30
+/// ```
31
+#[doc = include_str!("../examples/highlight_message.svg")]
32
#[derive(Clone, Debug)]
33
pub struct Group<'a> {
34
pub(crate) primary_level: Level<'a>,
0 commit comments