Thanks to visit codestin.com Credit goes to github.com
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.
Slice
1 parent 072b2e4 commit 2063b92Copy full SHA for 2063b92
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