forked from proxmox-mirrors/proxmox
router: parsing: docs: fix 'instead' typo
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
parent
10b15fb2ad
commit
4cb3579786
@ -20,7 +20,7 @@ where
|
|||||||
impl<R: Send + Sync> Records<R> {
|
impl<R: Send + Sync> Records<R> {
|
||||||
/// Create a *new buffered reader* for to cerate a record stream from an [`AsyncRead`].
|
/// 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`]
|
/// Note: If the underlying type already implements [`AsyncBufRead`], use [`Records::from`]
|
||||||
/// isntead!
|
/// instead!
|
||||||
pub fn new<T>(reader: T) -> Records<BufReader<T>>
|
pub fn new<T>(reader: T) -> Records<BufReader<T>>
|
||||||
where
|
where
|
||||||
T: AsyncRead + Send + Sync + Unpin + 'static,
|
T: AsyncRead + Send + Sync + Unpin + 'static,
|
||||||
|
Loading…
Reference in New Issue
Block a user