fix(fmt): remove nightly-only fmt flags

This commit is contained in:
Kat Marchán 2024-02-03 20:14:01 -08:00
parent 8b46679c36
commit 1fa7f5241f
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
3 changed files with 1 additions and 5 deletions

View File

@ -1,3 +1 @@
edition = "2021" edition = "2021"
wrap_comments = true
format_code_in_doc_comments = true

View File

@ -191,8 +191,6 @@ pub enum Severity {
Error, Error,
} }
#[cfg(feature = "serde")] #[cfg(feature = "serde")]
#[test] #[test]
fn test_serialize_severity() { fn test_serialize_severity() {

View File

@ -1855,7 +1855,7 @@ fn syntax_highlighter_on_real_file() {
); );
assert!(out.contains("\u{1b}[38;2;180;142;173m")); assert!(out.contains("\u{1b}[38;2;180;142;173m"));
assert_eq!(expected, strip_ansi_escapes::strip_str(out)); assert_eq!(expected, strip_ansi_escapes::strip_str(out));
} }
#[test] #[test]
fn triple_adjacent_highlight() -> Result<(), MietteError> { fn triple_adjacent_highlight() -> Result<(), MietteError> {