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 5218ce0 commit 8277349Copy full SHA for 8277349
src/snippet.rs
@@ -396,17 +396,13 @@ impl<'a> Origin<'a> {
396
}
397
398
/// Set the default line number to display
399
- ///
400
- /// Otherwise this will be inferred from the primary [`Annotation`]
401
pub fn line(mut self, line: usize) -> Self {
402
self.line = Some(line);
403
self
404
405
406
/// Set the default column to display
407
///
408
409
410
/// <div class="warning">
411
412
/// `char_column` is only be respected if [`Origin::line`] is also set.
0 commit comments