fix typos (#50)

This commit is contained in:
avinassh
2020-05-21 01:28:16 +05:30
committed by GitHub
parent 4c9edec0b1
commit 4c9ef8b31f
6 changed files with 8 additions and 8 deletions

View File

@@ -457,7 +457,7 @@ impl Subscriber {
self.subscribed_channels.retain(|c| *channel != &c[..]);
// Only a single channel should be removed from the
// liste of subscribed channels.
// list of subscribed channels.
if self.subscribed_channels.len() != len - 1 {
return Err(response.to_error());
}