-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename diagnostic span methods in accordance with their usage patterns
Diagnostic:: * labeled_primary_span -> span * labeled_secondary_span -> label * primary_span -> unlabeled_span * secondary_span -> unlabeled_secondary_span + made private * labeled_primary_spans -> spans * primary_spans -> unlabeled_spans
- Loading branch information
Showing
21 changed files
with
215 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- reporter.rs | ||
+++ reporter.rs | ||
@@ -13,6 +13,9 @@ use std::{ | ||
}; | ||
use utilities::{pluralize, Conjunction, ListingExt}; | ||
|
||
+// @Task diagnostic formatting options | ||
+// like display style: verbose (current default) vs. terse | ||
+ | ||
/// A diagnostic reporter. | ||
pub struct Reporter { | ||
kind: ReporterKind, | ||
--- lib.rs | ||
+++ lib.rs | ||
@@ -163,7 +163,7 @@ impl fmt::Display for Conjunction { | ||
} | ||
} | ||
|
||
-/// Use the singular or form the plural of the given word depending on the given amount. | ||
+/// Use the singular or the plural form of the given word depending on the given amount. | ||
/// | ||
/// # Examples | ||
/// |
Oops, something went wrong.