Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zesterer committed Jan 1, 2025
1 parent 83b2600 commit b3b4f56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1925,7 +1925,7 @@ pub trait Parser<'src, I: Input<'src>, O, E: ParserExtra<'src, I> = extra::Defau
/// multi_step_val.parse("100 2").into_result(),
/// Err(vec![
/// Rich::<char>::custom((0..3).into(), "100 must be 256 or higher"),
/// <Rich<char> as LabelError<&str, _>>::expected_found([TextExpected::Identifier], Some(MaybeRef::Val('2')), (4..5).into()),
/// <Rich<char> as LabelError<&str, _>>::expected_found([TextExpected::<char>::IdentifierPart], Some(MaybeRef::Val('2')), (4..5).into()),
/// ])
/// );
///
Expand Down
2 changes: 2 additions & 0 deletions src/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ use alloc::string::ToString;

use super::*;

use alloc::string::ToString;

/// A trait implemented by textual character types (currently, [`u8`] and [`char`]).
///
/// This trait is currently sealed to minimize the impact of breaking changes. If you find a type that you think should
Expand Down

0 comments on commit b3b4f56

Please sign in to comment.