We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 072b2e4 + 2063b92 commit 4b1d68bCopy full SHA for 4b1d68b
src/snippet.rs
@@ -40,6 +40,9 @@ pub struct Snippet {
40
41
/// Structure containing the slice of text to be annotated and
42
/// basic information about the location of the slice.
43
+///
44
+/// One `Slice` is meant to represent a single, continuous,
45
+/// slice of source code that you want to annotate.
46
#[derive(Debug, Clone)]
47
pub struct Slice {
48
pub source: String,
0 commit comments