Browse Source

[git-packetline] fix docs

pull/86/head
Sebastian Thiel 1 month ago
parent
commit
4a47c9ea79
No known key found for this signature in database GPG Key ID: 9CB5EE7895E8268B
  1. 4
      git-packetline/src/read/mod.rs

4
git-packetline/src/read/mod.rs

@ -1,8 +1,8 @@
use crate::PacketLine;
/// Read pack lines one after another, without consuming more than needed from the underlying
/// [`Read`][io::Read]. [`Flush`][PacketLine::Flush] lines cause the reader to stop producing lines forever,
/// leaving [`Read`][io::Read] at the start of whatever comes next.
/// [`Read`][std::io::Read]. [`Flush`][PacketLine::Flush] lines cause the reader to stop producing lines forever,
/// leaving [`Read`][std::io::Read] at the start of whatever comes next.
///
/// This implementation tries hard not to allocate at all which leads to quite some added complexity and plenty of extra memory copies.
pub struct StreamingPeekableIter<T> {

Loading…
Cancel
Save