diff options
| author | Fuwn <[email protected]> | 2021-06-07 03:17:02 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-06-07 03:17:02 +0000 |
| commit | e2faadff9311fa299680e4d2152755ca576b080c (patch) | |
| tree | 36718942b682b1c67bfeb8cbf2bef29ce3a4b9fb | |
| parent | style(readme): replace commas with hyphens (diff) | |
| download | whirl-e2faadff9311fa299680e4d2152755ca576b080c.tar.xz whirl-e2faadff9311fa299680e4d2152755ca576b080c.zip | |
style(global): replace double hyphens with long hyphens
| -rw-r--r-- | README.rst | 12 | ||||
| -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 |
4 files changed, 11 insertions, 11 deletions
@@ -85,17 +85,17 @@ Development Dependencies Required ~~~~~~~~ -- `Rust <https://www.rust-lang.org/>`_ -- the backbone of it all. -- `diesel\_cli <https://crates.io/crates/diesel_cli>`_ -- database migrations, setup, et cetera. -- `cargo-make <https://github.com/sagiegurari/cargo-make>`_ -- cross-platform +- `Rust <https://www.rust-lang.org/>`_ — the backbone of it all. +- `diesel\_cli <https://crates.io/crates/diesel_cli>`_ — database migrations, setup, et cetera. +- `cargo-make <https://github.com/sagiegurari/cargo-make>`_ — cross-platform `make <https://www.gnu.org/software/make/>`_ substitute. Optional ~~~~~~~~ -- `cargo-watch <https://crates.io/crates/cargo-watch>`_ -- recompilation on file-system changes. -- `sqlfluff <https://github.com/sqlfluff/sqlfluff>`_ -- SQL linting. -- `Valgrind <https://www.valgrind.org/>`_ -- benchmarking. +- `cargo-watch <https://crates.io/crates/cargo-watch>`_ — recompilation on file-system changes. +- `sqlfluff <https://github.com/sqlfluff/sqlfluff>`_ — SQL linting. +- `Valgrind <https://www.valgrind.org/>`_ — benchmarking. *These development dependencies (excluding sqlfluff) will automatically be satisfied if you are using the Nix shell configuration as provided.* 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. |