router: parsing: docs: fix 'instead' typo

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
Maximiliano Sandoval 2024-12-03 11:20:33 +01:00 committed by Fabian Grünbichler
parent 10b15fb2ad
commit 4cb3579786

View File

@ -20,7 +20,7 @@ where
impl<R: Send + Sync> Records<R> {
/// Create a *new buffered reader* for to cerate a record stream from an [`AsyncRead`].
/// Note: If the underlying type already implements [`AsyncBufRead`], use [`Records::from`]
/// isntead!
/// instead!
pub fn new<T>(reader: T) -> Records<BufReader<T>>
where
T: AsyncRead + Send + Sync + Unpin + 'static,