Skip to content

Commit

Permalink
Apply minor spelling fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
  • Loading branch information
otavio committed Oct 29, 2020
1 parent 412658e commit 7878d59
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion updatehub-sdk/src/api/info/firmware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct Metadata {
pub version: String,
/// Hardware where the firmware is running
pub hardware: String,
/// Path for the pub key beeing used
/// Path for the pub key being used
pub pub_key: Option<PathBuf>,
/// Device Identity
pub device_identity: MetadataValue,
Expand Down
2 changes: 1 addition & 1 deletion updatehub-sdk/src/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

//! Used to communicate with UpdateHub and listen to appropiate callbacks
//! Used to communicate with UpdateHub and listen to appropriate callbacks
//! when the state changes.

use crate::{Error, Result};
Expand Down
2 changes: 1 addition & 1 deletion updatehub/src/build_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SPDX-License-Identifier: Apache-2.0

/// Returns the version in use, including the commit and if there is
/// uncommited modification in the source.
/// uncommitted modification in the source.
///
/// Internally, it use `git describe` to get the version and the
/// number of changes since the last tag.
Expand Down
2 changes: 1 addition & 1 deletion updatehub/src/states/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ impl State {
}
}

/// Runs the state machine up to completion handling all procing
/// Runs the state machine up to completion handling all processing
/// states without extra manual work.
///
/// It supports following states, and transitions, as shown in the
Expand Down
4 changes: 2 additions & 2 deletions updatehub/src/utils/definitions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use pkg_schema::definitions::{
};
use std::path::PathBuf;

/// Utility funtions for [TargetType](pkg_schema::definitions::TargetType)
/// Utility functions for [TargetType](pkg_schema::definitions::TargetType)
pub(crate) trait TargetTypeExt {
/// Checks whether the device is valid to start installation, i.e.,
/// device exists, use have write permission.
Expand Down Expand Up @@ -44,7 +44,7 @@ impl TargetTypeExt for TargetType {
}
}

/// Utility funtions for [Gid](pkg_schema::definitions::target_permissions::Gid)
/// Utility functions for [Gid](pkg_schema::definitions::target_permissions::Gid)
/// and [Uid](pkg_schema::definitions::target_permissions::Uid)
pub(crate) trait IdExt {
/// Gets numeric id;
Expand Down

0 comments on commit 7878d59

Please sign in to comment.