Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
fix rebase issues
Browse files Browse the repository at this point in the history
  • Loading branch information
leops committed Nov 23, 2022
1 parent fabbe82 commit 12f40b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/rome_json_parser/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl ParseDiagnostic {
/// .with_file_source_code(source.to_string());
/// Formatter::new(&mut Termcolor(&mut write))
/// .write_markup(markup! {
/// {PrintDiagnostic(&error)}
/// {PrintDiagnostic::verbose(&error)}
/// })
/// .expect("failed to emit diagnostic");
///
Expand Down Expand Up @@ -181,7 +181,7 @@ impl ParseDiagnostic {
/// .with_file_source_code(source.to_string());
/// Formatter::new(&mut Termcolor(&mut write))
/// .write_markup(markup! {
/// {PrintDiagnostic(&error)}
/// {PrintDiagnostic::verbose(&error)}
/// })
/// .expect("failed to emit diagnostic");
///
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_json_parser/tests/spec_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub fn run(test_case: &str, _snapshot_name: &str, test_directory: &str, outcome:

formatter
.write_markup(markup! {
{PrintDiagnostic(&error)}
{PrintDiagnostic::verbose(&error)}
})
.expect("failed to emit diagnostic");
}
Expand Down

0 comments on commit 12f40b3

Please sign in to comment.