From 4f113c9642edc5807e62accd804460f519dfbf50 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 31 Jan 2024 16:33:55 -0600 Subject: [PATCH] docs(stream): Connect Location to Located --- src/stream/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stream/mod.rs b/src/stream/mod.rs index ea910e71..20caac1b 100644 --- a/src/stream/mod.rs +++ b/src/stream/mod.rs @@ -1089,6 +1089,8 @@ impl Stream for Partial { } /// Number of indices input has advanced since start of parsing +/// +/// See [`Located`] for adding location tracking to your [`Stream`] pub trait Location { /// Number of indices input has advanced since start of parsing fn location(&self) -> usize;