File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ asynchronous Rust patterns with Tokio.
176
176
Commands or other features should only be added if doing so is useful to
177
177
demonstrate a new pattern.
178
178
179
- Contributions should come with extensive comments targetted to new Tokio users.
179
+ Contributions should come with extensive comments targeted to new Tokio users.
180
180
181
181
Contributions that only focus on clarifying and improving comments are very
182
182
welcome.
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ impl Set {
147
147
frame. push_bulk ( Bytes :: from ( self . key . into_bytes ( ) ) ) ;
148
148
frame. push_bulk ( self . value ) ;
149
149
if let Some ( ms) = self . expire {
150
- // Expirations in Redis procotol can be specified in two ways
150
+ // Expirations in Redis protocol can be specified in two ways
151
151
// 1. SET key value EX seconds
152
152
// 2. SET key value PX milliseconds
153
153
// We the second option because it allows greater precision and
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ async fn handle_command(
245
245
Ok ( ( ) )
246
246
}
247
247
248
- /// Creates the response to a subcribe request.
248
+ /// Creates the response to a subscribe request.
249
249
///
250
250
/// All of these functions take the `channel_name` as a `String` instead of
251
251
/// a `&str` since `Bytes::from` can reuse the allocation in the `String`, and
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use tokio::net::TcpListener;
7
7
use tokio:: task:: JoinHandle ;
8
8
9
9
/// A basic "hello world" style test. A server instance is started in a
10
- /// background task. A client instance is then established and used to intialize
10
+ /// background task. A client instance is then established and used to initialize
11
11
/// the buffer. Set and get commands are sent to the server. The response is
12
12
/// then evaluated.
13
13
#[ tokio:: test]
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ async fn receive_message_multiple_subscribed_channels() {
88
88
assert_eq ! ( b"howdy?" , & message2. content[ ..] )
89
89
}
90
90
91
- /// test that a client accurately removes its own subscribed chanel list
91
+ /// test that a client accurately removes its own subscribed channel list
92
92
/// when unsubscribing to all subscribed channels by submitting an empty vec
93
93
#[ tokio:: test]
94
94
async fn unsubscribes_from_channels ( ) {
You can’t perform that action at this time.
0 commit comments