From 21af7eb8d539218950567ad6a1b9bb9e41ae7ca8 Mon Sep 17 00:00:00 2001 From: Anett Seeker Date: Tue, 22 Mar 2022 21:25:36 +0100 Subject: [PATCH] Fix documentation of raw::StreamWithState --- src/raw/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/raw/mod.rs b/src/raw/mod.rs index 6cc0eeb..88a0fef 100644 --- a/src/raw/mod.rs +++ b/src/raw/mod.rs @@ -1055,13 +1055,13 @@ impl<'f, 'a, A: Automaton> Streamer<'a> for Stream<'f, A> { /// A lexicographically ordered stream of key-value-state triples from an fst /// and an automaton. /// -/// The key-values are from the underyling FSTP while the states are from the +/// The key-values are from the underyling fst while the states are from the /// automaton. /// /// The `A` type parameter corresponds to an optional automaton to filter /// the stream. By default, no filtering is done. /// -/// The `'m` lifetime parameter refers to the lifetime of the underlying map. +/// The `'f` lifetime parameter refers to the lifetime of the underlying fst. pub struct StreamWithState<'f, A = AlwaysMatch> where A: Automaton,