Skip to content

Commit

Permalink
Fixed broken pratt docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zesterer committed Feb 3, 2025
1 parent 762ab3d commit fb03292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pratt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ impl<A: Clone, F: Clone, Atom, Op, I, E> Clone for Prefix<'_, A, F, Atom, Op, I,
/// expression. It must have the following signature:
///
/// ```ignore
/// impl Fn(Atom, Op, &mut MapExtra<'src, '_, I, E>) -> O
/// impl Fn(Op, Atom, &mut MapExtra<'src, '_, I, E>) -> O
/// ```
pub const fn prefix<'src, A, F, Atom, Op, I, E>(
binding_power: u16,
Expand Down Expand Up @@ -692,7 +692,7 @@ impl<A: Clone, F: Clone, Atom, Op, I, E> Clone for Postfix<'_, A, F, Atom, Op, I
/// expression. It must have the following signature:
///
/// ```ignore
/// impl Fn(Op, Atom, &mut MapExtra<'src, '_, I, E>) -> O
/// impl Fn(Atom, Op, &mut MapExtra<'src, '_, I, E>) -> O
/// ```
pub const fn postfix<'src, A, F, Atom, Op, I, E>(
binding_power: u16,
Expand Down

0 comments on commit fb03292

Please sign in to comment.