Skip to content

Commit 1fa7f52

Browse files
committedFeb 4, 2024
fix(fmt): remove nightly-only fmt flags
1 parent 8b46679 commit 1fa7f52

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed
 

‎rustfmt.toml

-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
edition = "2021"
2-
wrap_comments = true
3-
format_code_in_doc_comments = true

‎src/protocol.rs

-2
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,6 @@ pub enum Severity {
191191
Error,
192192
}
193193

194-
195-
196194
#[cfg(feature = "serde")]
197195
#[test]
198196
fn test_serialize_severity() {

‎tests/graphical.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1855,7 +1855,7 @@ fn syntax_highlighter_on_real_file() {
18551855
);
18561856
assert!(out.contains("\u{1b}[38;2;180;142;173m"));
18571857
assert_eq!(expected, strip_ansi_escapes::strip_str(out));
1858-
}
1858+
}
18591859

18601860
#[test]
18611861
fn triple_adjacent_highlight() -> Result<(), MietteError> {

0 commit comments

Comments
 (0)
Please sign in to comment.