diff options
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/whirl_api/src/lib.rs | 4 | ||||
| -rw-r--r-- | crates/whirl_server/src/cmd/commands/text.rs | 2 | ||||
| -rw-r--r-- | crates/whirl_server/src/lib.rs | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/crates/whirl_api/src/lib.rs b/crates/whirl_api/src/lib.rs index 882beeb..df0336f 100644 --- a/crates/whirl_api/src/lib.rs +++ b/crates/whirl_api/src/lib.rs @@ -64,8 +64,8 @@ impl Api { } } -/// Spawn and return a thread handle for the API -- which -/// should be -- instantiated by the `whirl_api` crate. +/// Spawn and return a thread handle for the API — which +/// should be — instantiated by the `whirl_api` crate. /// /// # Panics /// - A panic may occur if the mpsc sender is unable to send a clone of the diff --git a/crates/whirl_server/src/cmd/commands/text.rs b/crates/whirl_server/src/cmd/commands/text.rs index d2fddf6..99047c6 100644 --- a/crates/whirl_server/src/cmd/commands/text.rs +++ b/crates/whirl_server/src/cmd/commands/text.rs @@ -59,7 +59,7 @@ impl ParsableWithArguments for Text { /// something of the sort but the Rust RFC is probably not focused on that. /// /// So, right now, trust is in the developers' hands to make sure to pass the - /// right -- number -- of elements to `args`. + /// right — number — of elements to `args`. fn parse(data: Vec<u8>, args: &[&str]) -> Self { Self { sender: args[0].to_string(), diff --git a/crates/whirl_server/src/lib.rs b/crates/whirl_server/src/lib.rs index 8db279f..e0ea833 100644 --- a/crates/whirl_server/src/lib.rs +++ b/crates/whirl_server/src/lib.rs @@ -101,8 +101,8 @@ pub trait Server { ) -> Result<(), Box<dyn Error>>; } -/// Spawn and return a vector of thread handles for each sub-server -- which -/// should be -- instantiated by the `whirl_server` crate. +/// Spawn and return a vector of thread handles for each sub-server — which +/// should be — instantiated by the `whirl_server` crate. /// /// # Panics /// - A panic may occur if the TCP server is unable to bind the specified port. |