aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-06-07 03:17:02 +0000
committerFuwn <[email protected]>2021-06-07 03:17:02 +0000
commite2faadff9311fa299680e4d2152755ca576b080c (patch)
tree36718942b682b1c67bfeb8cbf2bef29ce3a4b9fb /crates
parentstyle(readme): replace commas with hyphens (diff)
downloadwhirl-e2faadff9311fa299680e4d2152755ca576b080c.tar.xz
whirl-e2faadff9311fa299680e4d2152755ca576b080c.zip
style(global): replace double hyphens with long hyphens
Diffstat (limited to 'crates')
-rw-r--r--crates/whirl_api/src/lib.rs4
-rw-r--r--crates/whirl_server/src/cmd/commands/text.rs2
-rw-r--r--crates/whirl_server/src/lib.rs4
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.