Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed May 2, 2024
1 parent fe1d5ae commit 58f834c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ Instantiate it and then call `MatterStack::run(...)`.

```rust
//! An example utilizing the `MatterStack<WifiBle>` struct.
//! As the name suggests, this Matter stack assembly uses Wifi as the main transport, and BLE for commissioning.
//! If use want to use Ethernet, utilize `MatterStack<Eth>` instead.
//! As the name suggests, this Matter stack assembly uses Wifi as the main transport,
//! and BLE for commissioning.
//! If you want to use Ethernet, utilize `MatterStack<Eth>` instead.
//!
//! The example implements a fictitious Light device (an on-off cluster).
//! The example implements a fictitious Light device (an On-Off Matter cluster).

use core::borrow::Borrow;
use core::pin::pin;
Expand Down
7 changes: 4 additions & 3 deletions examples/light.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
//! An example utilizing the `MatterStack<WifiBle>` struct.
//! As the name suggests, this Matter stack assembly uses Wifi as the main transport, and BLE for commissioning.
//! If use want to use Ethernet, utilize `MatterStack<Eth>` instead.
//! As the name suggests, this Matter stack assembly uses Wifi as the main transport,
//! and BLE for commissioning.
//! If you want to use Ethernet, utilize `MatterStack<Eth>` instead.
//!
//! The example implements a fictitious Light device (an on-off cluster).
//! The example implements a fictitious Light device (an On-Off Matter cluster).
use core::borrow::Borrow;
use core::pin::pin;
Expand Down
2 changes: 1 addition & 1 deletion examples/light_eth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! Instead, we utilize Wifi, which - from the POV of Matter - is indistinguishable from Ethernet as long as the Matter
//! stack is not concerned with connecting to the Wifi network, managing its credentials etc. and can assume it "pre-exists".
//!
//! The example implements a fictitious Light device (an on-off cluster).
//! The example implements a fictitious Light device (an On-Off Matter cluster).
use core::borrow::Borrow;
use core::pin::pin;
Expand Down

0 comments on commit 58f834c

Please sign in to comment.