Skip to content

Commit

Permalink
[git-transport] fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed May 31, 2021
1 parent 011ece0 commit fbfc827
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion etc/check-package-size.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ indent cargo diet -n --package-size-limit 25KB
(enter git-protocol && indent cargo diet -n --package-size-limit 20KB)
(enter git-packetline && indent cargo diet -n --package-size-limit 15KB)
(enter git-repository && indent cargo diet -n --package-size-limit 15KB)
(enter git-transport && indent cargo diet -n --package-size-limit 20KB)
(enter git-transport && indent cargo diet -n --package-size-limit 30KB)
(enter gitoxide-core && indent cargo diet -n --package-size-limit 20KB)
4 changes: 2 additions & 2 deletions git-transport/src/client/non_io_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone, Copy)]
#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))]
pub enum WriteMode {
/// Each [write()][Write::write()] call writes the bytes verbatim as one or more packet lines.
/// Each [write()][std::io::Write::write()] call writes the bytes verbatim as one or more packet lines.
Binary,
/// Each [write()][Write::write()] call assumes text in the input, assures a trailing newline and writes it as single packet line.
/// Each [write()][std::io::Write::write()] call assumes text in the input, assures a trailing newline and writes it as single packet line.
OneLfTerminatedLinePerWriteCall,
}

Expand Down

0 comments on commit fbfc827

Please sign in to comment.