From 025aec395fa17c4ef84f000b037714423169db2b Mon Sep 17 00:00:00 2001 From: Vladimir Petrigo Date: Tue, 9 Nov 2021 12:39:59 +0300 Subject: [PATCH] examples: Clean up documentation Since `clap` is the dev dependency, there are no need to specify it in features list --- examples/smoltcp_request.rs | 2 +- examples/timesync.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/smoltcp_request.rs b/examples/smoltcp_request.rs index d282def..366b71b 100644 --- a/examples/smoltcp_request.rs +++ b/examples/smoltcp_request.rs @@ -69,7 +69,7 @@ //! //! Ready-to-use command line that reflects network interface setup mentioned above: //! ```sh -//! $ cargo run --package sntpc --example smoltcp_request --no-default-features --features "std log clap" -- --server "216.239.35.12" --port "123" -i "tap0" -m "02:00:00:00:00:02" --ip "192.168.69.2/24" --gw "192.168.69.1" +//! $ cargo run --package sntpc --example smoltcp_request --no-default-features --features "std log" -- --server "216.239.35.12" --port "123" -i "tap0" -m "02:00:00:00:00:02" --ip "192.168.69.2/24" --gw "192.168.69.1" //! ``` //! //! As a result you should see something like that at the end of log output: diff --git a/examples/timesync.rs b/examples/timesync.rs index 139c91a..2f38969 100644 --- a/examples/timesync.rs +++ b/examples/timesync.rs @@ -3,7 +3,7 @@ //! You can run the `timesync` example in the terminal: //! //! ``` -//! cargo run --example timesync --features="std clap utils" +//! cargo run --example timesync --features="std utils" //! ``` //! //! That will run the example with the default NTP server set to `time.google.com`. To