fix(fmt): cargo fmt

This commit is contained in:
Kat Marchán 2024-12-21 17:54:51 -08:00
parent b097c7e21b
commit 0c59b29a03
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
2 changed files with 4 additions and 4 deletions

View File

@ -2,9 +2,9 @@
use miette::SourceSpan;
use std::fmt::Display;
use crate::{FormatConfig, KdlError, KdlNode, KdlValue};
#[cfg(feature = "v1")]
use crate::KdlNodeFormat;
use crate::{FormatConfig, KdlError, KdlNode, KdlValue};
/// Represents a KDL
/// [`Document`](https://github.com/kdl-org/kdl/blob/main/SPEC.md#document).

View File

@ -1611,9 +1611,9 @@ fn ws(input: &mut Input<'_>) -> PResult<()> {
}
static UNICODE_SPACES: [char; 18] = [
'\u{0009}', '\u{0020}', '\u{00A0}', '\u{1680}', '\u{2000}', '\u{2001}',
'\u{2002}', '\u{2003}', '\u{2004}', '\u{2005}', '\u{2006}', '\u{2007}',
'\u{2008}', '\u{2009}', '\u{200A}', '\u{202F}', '\u{205F}', '\u{3000}',
'\u{0009}', '\u{0020}', '\u{00A0}', '\u{1680}', '\u{2000}', '\u{2001}', '\u{2002}', '\u{2003}',
'\u{2004}', '\u{2005}', '\u{2006}', '\u{2007}', '\u{2008}', '\u{2009}', '\u{200A}', '\u{202F}',
'\u{205F}', '\u{3000}',
];
/// `unicode-space := <See Table>`