Skip to content

Commit d382679

Browse files
authored
docs: fix typos (#109)
1 parent 419ac97 commit d382679

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ impl Listener {
227227
// to the semaphore.
228228
//
229229
// `acquire_owned()` returns `Err` when the semaphore has been
230-
// closed. We don't ever close the sempahore, so `unwrap()` is safe.
230+
// closed. We don't ever close the semaphore, so `unwrap()` is safe.
231231
let permit = self
232232
.limit_connections
233233
.clone()

tests/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async fn receive_message_multiple_subscribed_channels() {
6767
}
6868

6969
/// test that a client accurately removes its own subscribed chanel list
70-
/// when unbscribing to all subscribed channels by submitting an empty vec
70+
/// when unsubscribing to all subscribed channels by submitting an empty vec
7171
#[tokio::test]
7272
async fn unsubscribes_from_channels() {
7373
let (addr, _) = start_server().await;

0 commit comments

Comments
 (0)