Skip to content

Commit

Permalink
examples: Clean up documentation
Browse files Browse the repository at this point in the history
Since `clap` is the dev dependency, there are no need to specify it in features list
  • Loading branch information
vpetrigo committed Nov 9, 2021
1 parent 668ceb1 commit 025aec3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/smoltcp_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion examples/timesync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 025aec3

Please sign in to comment.