aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2019-08-14 18:26:01 -0400
committerBrian Cully <bjc@kublai.com>2019-08-14 18:26:01 -0400
commit7f3dcf01dedd39d33009e53227162012f4473dce (patch)
treec998dd2ae18c648bbfb7ee0f8d1a437b8a871d01 /src/lib.rs
parentb9eead7533b2c5d8360213c4e3104a0fa6888122 (diff)
downloadstarb-7f3dcf01dedd39d33009e53227162012f4473dce.tar.gz
starb-7f3dcf01dedd39d33009e53227162012f4473dce.zip
Finish documentation sentence for `unshift_from`.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 164a575..254d833 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -226,7 +226,7 @@ impl<T> Writer<'_, T>
where
T: Copy,
{
- /// Copy as much of `buf` into the ring buffer.
+ /// Copy as much of `buf` into the ring buffer as possible.
///
/// Returns the number of items copied.
pub fn unshift_from(&mut self, buf: &[T]) -> usize {