Skip to content

Commit

Permalink
fix(fmt): remove nightly-only fmt flags
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Feb 4, 2024
1 parent 8b46679 commit 1fa7f52
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions rustfmt.toml
@@ -1,3 +1 @@
edition = "2021"
wrap_comments = true
format_code_in_doc_comments = true
2 changes: 0 additions & 2 deletions src/protocol.rs
Expand Up @@ -191,8 +191,6 @@ pub enum Severity {
Error,
}



#[cfg(feature = "serde")]
#[test]
fn test_serialize_severity() {
Expand Down
2 changes: 1 addition & 1 deletion tests/graphical.rs
Expand Up @@ -1855,7 +1855,7 @@ fn syntax_highlighter_on_real_file() {
);
assert!(out.contains("\u{1b}[38;2;180;142;173m"));
assert_eq!(expected, strip_ansi_escapes::strip_str(out));
}
}

#[test]
fn triple_adjacent_highlight() -> Result<(), MietteError> {
Expand Down

0 comments on commit 1fa7f52

Please sign in to comment.