changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / rust/lib/sxp/src/io.rs

changeset 698: 96958d3eb5b0
parent: 0ccbbd142694
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 //! io.rs --- minimal nostd-friendly `std::io` wrapper
2 pub use self::imp::{Error, Result, Write};
3 
4 #[cfg(not(feature = "std"))]
5 #[path = "nostd.rs"]
6 mod imp;
7 
8 #[cfg(feature = "std")]
9 use std::io as imp;
10 
11 #[cfg(feature = "std")]
12 pub use std::io::{Bytes, Read};