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 8277349 commit 9e1655eCopy full SHA for 9e1655e
src/snippet.rs
@@ -413,6 +413,10 @@ impl<'a> Origin<'a> {
413
self
414
}
415
416
+ /// Mark this origin as the primary one within this [`Group`]
417
+ ///
418
+ /// Generally there should only be one primary origin, whether from an [`Origin`] or an
419
+ /// [`Annotation`] with [`AnnotationKind::Primary`].
420
pub fn primary(mut self, primary: bool) -> Self {
421
self.primary = primary;
422
0 commit comments