Skip to content

Commit

Permalink
Update documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Sep 4, 2022
1 parent 67348d3 commit f491d6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/yew/src/platform/fmt/buffer.rs
Expand Up @@ -77,9 +77,9 @@ impl Write for Inner {
}
}

/// An asynchronous String BufWriter.
/// An asynchronous [`String`] writer.
///
/// This type implements [`fmt::Write`] and can be.
/// This type implements [`fmt::Write`] and can be used with [`write!`] and [`writeln!`].
pub(crate) struct BufWriter {
inner: Rc<UnsafeCell<Inner>>,
}
Expand Down Expand Up @@ -144,7 +144,7 @@ impl Drop for BufWriter {
}
}

/// An asynchronous String Stream.
/// An asynchronous [`String`] reader.
pub(crate) struct BufReader {
inner: Rc<UnsafeCell<Inner>>,
}
Expand Down
2 changes: 1 addition & 1 deletion packages/yew/src/platform/fmt/mod.rs
Expand Up @@ -11,7 +11,7 @@ mod buffer;

pub(crate) use buffer::{buffer, BufReader, BufWriter};

/// A buffered asynchronous string Stream.
/// A buffered asynchronous [`String`] [`Stream`].
///
/// A BufStream combines a BufWriter - BufReader pair and a resolving future that writes to the
/// buffer and polls the future alongside the buffer.
Expand Down

0 comments on commit f491d6c

Please sign in to comment.