History

[git-transport] fix docs

Sebastian Thiel committed 5 years ago

Commit fbfc8271 parent 011ece02 files · +3 −3Browse files

Unified · Split

2 files
  1. etc/check-package-size.sh +1 −1
  2. git-transport/src/client/non_io_types.rs +2 −2
etc/check-package-size.sh+1−1
@@ -31,5 +31,5 @@ indent cargo diet -n --package-size-limit 25KB · 30 unmodified lines
3131 (enter git-protocol && indent cargo diet -n --package-size-limit 20KB)
3232 (enter git-packetline && indent cargo diet -n --package-size-limit 15KB)
3333 (enter git-repository && indent cargo diet -n --package-size-limit 15KB)
34−(enter git-transport && indent cargo diet -n --package-size-limit 20KB)
34+(enter git-transport && indent cargo diet -n --package-size-limit 30KB)
3535 (enter gitoxide-core && indent cargo diet -n --package-size-limit 20KB)
git-transport/src/client/non_io_types.rs+2−2
@@ -2,9 +2,9 @@ · 1 unmodified line
22 #[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone, Copy)]
33 #[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))]
44 pub enum WriteMode {
5− /// Each [write()][Write::write()] call writes the bytes verbatim as one or more packet lines.
5+ /// Each [write()][std::io::Write::write()] call writes the bytes verbatim as one or more packet lines.
66 Binary,
7− /// Each [write()][Write::write()] call assumes text in the input, assures a trailing newline and writes it as single packet line.
7+ /// Each [write()][std::io::Write::write()] call assumes text in the input, assures a trailing newline and writes it as single packet line.
88 OneLfTerminatedLinePerWriteCall,
99 }
1010