diff --git a/examples/basic_serial.rs b/examples/basic_serial.rs index efe63bf..be1162a 100644 --- a/examples/basic_serial.rs +++ b/examples/basic_serial.rs @@ -10,7 +10,7 @@ use meshtastic::api::StreamApi; use meshtastic::utils; /// Set up the logger to output to stdout -/// **Note:** the invokation of this function is commented out in main by default. +/// **Note:** the invocation of this function is commented out in main by default. fn setup_logger() -> Result<(), fern::InitError> { fern::Dispatch::new() .format(|out, message, record| { diff --git a/examples/basic_tcp.rs b/examples/basic_tcp.rs index 63c0b82..fb8d75a 100644 --- a/examples/basic_tcp.rs +++ b/examples/basic_tcp.rs @@ -10,7 +10,7 @@ use meshtastic::api::StreamApi; use meshtastic::utils; /// Set up the logger to output to stdout -/// **Note:** the invokation of this function is commented out in main by default. +/// **Note:** the invocation of this function is commented out in main by default. fn setup_logger() -> Result<(), fern::InitError> { fern::Dispatch::new() .format(|out, message, record| { diff --git a/src/connections/stream_api.rs b/src/connections/stream_api.rs index f99c2ef..5316624 100644 --- a/src/connections/stream_api.rs +++ b/src/connections/stream_api.rs @@ -61,7 +61,7 @@ pub struct StreamApi; /// on the `StreamApi` struct. Once the user has called `StreamApi::connect`, the user is then expected /// to call the `configure` method on the resulting `ConnectedStreamApi` instance. The "send" methods /// will not be available to the user until `configure` has been called, as the device will not -/// repond to them. +/// respond to them. /// /// This struct can either be in the `Connected`, or `Configured` state. The `Connected` state is /// used to indicate that the user has connected to a radio, but that the device connection has not @@ -749,7 +749,7 @@ impl ConnectedStreamApi { Ok(()) } - /// Sends the specified `Positon` over the mesh. + /// Sends the specified `Position` over the mesh. /// /// Sending a `Position` packet will update the internal position of the connected radio /// in addition to sending the packet over the mesh. @@ -1207,7 +1207,7 @@ impl ConnectedStreamApi { /// This is a limitation of the current firmware. /// /// **Note:** It is the responsibility of the user of this library to avoid calling - /// this method multiple times, and to avoid calling this method without first caling the + /// this method multiple times, and to avoid calling this method without first calling the /// `start_config_transaction` method. This will result in undefined radio behavior. /// /// # Arguments