History

Fix typos

Kian-Meng Ang committed 4 years ago

Commit e9fcb701 parent aa639d858 files · +73 −73Browse files

Showing the changes to git-protocol/src (3 of 58 files). Show all

Unified · Split

3 files
  1. git-protocol/src/fetch/response/async_io.rs +1 −1
  2. git-protocol/src/fetch/response/blocking_io.rs +1 −1
  3. git-protocol/src/fetch/tests/arguments.rs +1 −1
git-protocol/src/fetch/response/async_io.rs+1−1
@@ -46,7 +46,7 @@ impl Response { · 45 unmodified lines
46 line.clear();46 line.clear();
47 let peeked_line = match reader.peek_data_line().await {47 let peeked_line = match reader.peek_data_line().await {
48 Some(Ok(Ok(line))) => String::from_utf8_lossy(line),48 Some(Ok(Ok(line))) => String::from_utf8_lossy(line),
49 // This special case (hang/block forver) deals with a single NAK being a legitimate EOF sometimes49 // This special case (hang/block forever) deals with a single NAK being a legitimate EOF sometimes
50 // Note that this might block forever in stateful connections as there it's not really clear50 // Note that this might block forever in stateful connections as there it's not really clear
51 // if something will be following or not by just looking at the response. Instead you have to know51 // if something will be following or not by just looking at the response. Instead you have to know
52 // the arguments sent to the server and count response lines based on intricate knowledge on how the52 // the arguments sent to the server and count response lines based on intricate knowledge on how the
git-protocol/src/fetch/response/blocking_io.rs+1−1
@@ -45,7 +45,7 @@ impl Response { · 44 unmodified lines
45 line.clear();45 line.clear();
46 let peeked_line = match reader.peek_data_line() {46 let peeked_line = match reader.peek_data_line() {
47 Some(Ok(Ok(line))) => String::from_utf8_lossy(line),47 Some(Ok(Ok(line))) => String::from_utf8_lossy(line),
48 // This special case (hang/block forver) deals with a single NAK being a legitimate EOF sometimes48 // This special case (hang/block forever) deals with a single NAK being a legitimate EOF sometimes
49 // Note that this might block forever in stateful connections as there it's not really clear49 // Note that this might block forever in stateful connections as there it's not really clear
50 // if something will be following or not by just looking at the response. Instead you have to know50 // if something will be following or not by just looking at the response. Instead you have to know
51 // the arguments sent to the server and count response lines based on intricate knowledge on how the51 // the arguments sent to the server and count response lines based on intricate knowledge on how the
git-protocol/src/fetch/tests/arguments.rs+1−1
@@ -239,7 +239,7 @@ mod v2 { · 238 unmodified lines
2390009done2390009done
2400000"2400000"
241 .as_bstr(),241 .as_bstr(),
242 "we filter features/capabilities without value as these apparently sholdn't be listed (remote dies otherwise)"242 "we filter features/capabilities without value as these apparently shouldn't be listed (remote dies otherwise)"
243 );243 );
244 }244 }
245 245