File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ impl Command {
46
46
let mut parse = Parse :: new ( frame) ?;
47
47
48
48
// All redis commands begin with the command name as a string. The name
49
- // is read and converted to lower casae in order to do case sensitive
49
+ // is read and converted to lower cases in order to do case sensitive
50
50
// matching.
51
51
let command_name = parse. next_string ( ) ?. to_lowercase ( ) ;
52
52
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ impl Listener {
225
225
//
226
226
// `acquire` returns a permit that is bound via a lifetime to the
227
227
// semaphore. When the permit value is dropped, it is automatically
228
- // returned to the sempahore . This is convenient in many cases.
228
+ // returned to the semaphore . This is convenient in many cases.
229
229
// However, in this case, the permit must be returned in a different
230
230
// task than it is acquired in (the handler task). To do this, we
231
231
// "forget" the permit, which drops the permit value **without**
@@ -253,7 +253,7 @@ impl Listener {
253
253
// connection, a permit is added back to the semaphore.
254
254
limit_connections : self . limit_connections . clone ( ) ,
255
255
256
- // Receive shutdown notifcations .
256
+ // Receive shutdown notifications .
257
257
shutdown : Shutdown :: new ( self . notify_shutdown . subscribe ( ) ) ,
258
258
259
259
// Notifies the receiver half once all clones are
You can’t perform that action at this time.
0 commit comments