Skip to content

Commit

Permalink
Merge pull request #701 from epage/cleanup
Browse files Browse the repository at this point in the history
docs: Clean up examples
  • Loading branch information
epage authored Jan 21, 2025
2 parents ce731b2 + 8a4c3bd commit 788e8cc
Show file tree
Hide file tree
Showing 29 changed files with 14,551 additions and 4,467 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
miri:
name: Miri
runs-on: ubuntu-latest
env:
MIRIFLAGS: "-Zmiri-disable-isolation"
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions src/_tutorial/chapter_2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@
//! > Let's look at it more closely as its used above (resolving all generic parameters):
//! > ```rust
//! > # use winnow::prelude::*;
//! > # use winnow::error::InputError;
//! > # use winnow::error::ContextError;
//! > pub fn one_of<'i>(
//! > list: &'static [char]
//! > ) -> impl Parser<&'i str, char, InputError<&'i str>> {
//! > ) -> impl Parser<&'i str, char, ContextError> {
//! > // ...
//! > # winnow::token::one_of(list)
//! > }
Expand Down
1 change: 0 additions & 1 deletion src/_tutorial/chapter_6.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ use super::chapter_1;
use super::chapter_7;
use crate::combinator::eof;
use crate::error::ErrMode;
use crate::error::InputError;
use crate::error::ParseError;
use crate::PResult;
use crate::Parser;
Expand Down
395 changes: 186 additions & 209 deletions src/ascii/mod.rs

Large diffs are not rendered by default.

Loading

0 comments on commit 788e8cc

Please sign in to comment.