Skip to content

Commit

Permalink
fix(fmt): cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Dec 22, 2024
1 parent b097c7e commit 0c59b29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
6 changes: 3 additions & 3 deletions src/v2_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>`
Expand Down

0 comments on commit 0c59b29

Please sign in to comment.