Skip to content

Commit 8277349

Browse files
committed
docs: Remove bad comments about Origin
1 parent 5218ce0 commit 8277349

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/snippet.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,17 +396,13 @@ impl<'a> Origin<'a> {
396396
}
397397

398398
/// Set the default line number to display
399-
///
400-
/// Otherwise this will be inferred from the primary [`Annotation`]
401399
pub fn line(mut self, line: usize) -> Self {
402400
self.line = Some(line);
403401
self
404402
}
405403

406404
/// Set the default column to display
407405
///
408-
/// Otherwise this will be inferred from the primary [`Annotation`]
409-
///
410406
/// <div class="warning">
411407
///
412408
/// `char_column` is only be respected if [`Origin::line`] is also set.

0 commit comments

Comments
 (0)