Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • redox-os/core_io
  • mati865/core_io
  • matijaskala/core_io
  • ayf/core_io
  • aaronjanse/core_io
  • 4lDO2/core_io
  • coolreader18/core_io
7 results
Show changes
Commits on Source (1)
......@@ -377,7 +377,7 @@ impl<R: Seek> Seek for BufReader<R> {
/// [`flush`]: #method.flush
pub struct BufWriter<W: Write> {
inner: Option<W>,
buf: Vec<u8>,
pub /* relibc */ buf: Vec<u8>,
// #30888: If the inner writer panics in a call to write, we don't want to
// write the buffered data a second time in BufWriter's destructor. This
// flag tells the Drop impl if it should skip the flush.
......@@ -719,7 +719,7 @@ impl<W> fmt::Display for IntoInnerError<W> {
/// }
/// ```
pub struct LineWriter<W: Write> {
inner: BufWriter<W>,
pub /* relibc */ inner: BufWriter<W>,
need_flush: bool,
}
......