File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ pub enum DisplayRawLine<'a> {
225225 source_aligned : bool ,
226226 /// If set to `true`, only the label of the `Annotation` will be
227227 /// displayed. It allows for a multiline annotation to be aligned
228- /// without displaing the meta information (`type` and `id`) to be
228+ /// without displaying the meta information (`type` and `id`) to be
229229 /// displayed on each line.
230230 continuation : bool ,
231231 } ,
@@ -283,7 +283,7 @@ pub enum DisplayMarkType {
283283/// There are several ways to uses this information when formatting the `DisplayList`:
284284///
285285/// * An annotation may display the name of the type like `error` or `info`.
286- /// * An underline for `Error` may be `^^^` while for `Warning` it coule be `---`.
286+ /// * An underline for `Error` may be `^^^` while for `Warning` it could be `---`.
287287/// * `ColorStylesheet` may use different colors for different annotations.
288288#[ derive( Debug , Clone , PartialEq ) ]
289289pub enum DisplayAnnotationType {
Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ fn test_raw_origin_initial_pos_anon_lines() {
513513 header_type: DisplayHeaderType :: Initial ,
514514 } ) ] ) ;
515515
516- // Using anonymized_line_numbers should not affect the inital position
516+ // Using anonymized_line_numbers should not affect the initial position
517517 dl. anonymized_line_numbers = true ;
518518 assert_eq ! ( dl. to_string( ) , "--> src/test.rs:23:15" ) ;
519519}
You can’t perform that action at this time.
0 commit comments