Skip to content

Commit

Permalink
Document use of no-std-io2
Browse files Browse the repository at this point in the history
Closes #505
  • Loading branch information
wcampbell0x2a committed Jan 18, 2025
1 parent fbaf868 commit b44ee49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ assert_eq!(value.sub.b, 0x01 + 0x02)
# `Read` supported
Parsers can be created that directly read from a source implementing [Read](crate::no_std_io::Read).
The crate [no_std_io] is re-exported for use in `no_std` environments.
The crate [no_std_io2](https://crates.io/crates/no-std-io2) is re-exported as [no_std_io] for use in `no_std` environments.
This functions as an alias for [std::io](https://doc.rust-lang.org/stable/std/io/) when not
using `no_std`.
Expand Down Expand Up @@ -357,7 +357,7 @@ extern crate alloc;
#[cfg(feature = "alloc")]
use alloc::vec::Vec;

/// re-export of no_std_io
/// re-export of [no_std_io2](https://crates.io/crates/no-std-io2)
pub mod no_std_io {
pub use no_std_io::io::Cursor;
pub use no_std_io::io::Read;
Expand Down

0 comments on commit b44ee49

Please sign in to comment.