Skip to content

Commit 30cb26d

Browse files
authored
Merge pull request #157 from yuankunzhang/simplify-mod-rs
Simplify items/mod.rs by moving the fundamental combinators to their own module
2 parents 76d8f17 + 6e64f21 commit 30cb26d

File tree

8 files changed

+328
-178
lines changed

8 files changed

+328
-178
lines changed

src/items/combined.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use crate::items::space;
2222

2323
use super::{
2424
date::{self, Date},
25-
s,
25+
primitive::s,
2626
time::{self, Time},
2727
};
2828

src/items/date.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use winnow::{
3535
ModalResult, Parser,
3636
};
3737

38-
use super::{dec_uint, s};
38+
use super::primitive::{dec_uint, s};
3939
use crate::ParseDateTimeError;
4040

4141
#[derive(PartialEq, Eq, Clone, Debug, Default)]

0 commit comments

Comments
 (0)