aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl_server
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-06-07 03:17:02 -0700
committerFuwn <[email protected]>2021-06-07 03:17:02 -0700
commitda4c2b6389b6e851890875bc23b2caf40b9d49d5 (patch)
tree1fdeb18e298b71bfc3c1ee49dd962fa5d0882384 /crates/whirl_server
parentstyle(readme): replace commas with hyphens (diff)
downloadwhirl-da4c2b6389b6e851890875bc23b2caf40b9d49d5.tar.xz
whirl-da4c2b6389b6e851890875bc23b2caf40b9d49d5.zip
style(global): replace double hyphens with long hyphens
Diffstat (limited to 'crates/whirl_server')
-rw-r--r--crates/whirl_server/src/cmd/commands/text.rs2
-rw-r--r--crates/whirl_server/src/lib.rs4
2 files changed, 3 insertions, 3 deletions
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.