Skip to content

Commit

Permalink
rust: Fix some typos found on code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ancorgs committed Jun 5, 2024
1 parent aad870e commit c438440
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust/agama-lib/src/install_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl FromStr for Scope {
type Err = &'static str;

// Do not generate the StorageAutoyast scope. Note that storage AutoYaST settings will only be
// temporary availble for importing an AutoYaST profile. But CLI should not allow modifying the
// temporary available for importing an AutoYaST profile. But CLI should not allow modifying the
// storate AutoYaST settings.
fn from_str(s: &str) -> Result<Self, Self::Err> {
match s {
Expand Down
2 changes: 1 addition & 1 deletion rust/agama-lib/src/storage/autoyast/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use zbus::Connection;
/// Stores the storage AutoYaST settings to the D-Bus service.
///
/// NOTE: The AutoYaST settings are not loaded from D-Bus because they cannot be modified. The only
/// way of using the storage AutoYaST settings is by loading a json config file.
/// way of using the storage AutoYaST settings is by loading a JSON config file.
pub struct StorageAutoyastStore<'a> {
storage_client: StorageClient<'a>,
}
Expand Down
2 changes: 1 addition & 1 deletion rust/agama-lib/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl<'a> Store<'a> {
/// Loads the installation settings from the D-Bus service.
///
/// NOTE: The storage AutoYaST settings cannot be loaded because they cannot be modified. The
/// ability of using the storage AutoYaST settings from a json config file is temporary and it
/// ability of using the storage AutoYaST settings from a JSON config file is temporary and it
/// will be removed in the future.
pub async fn load(&self, only: Option<Vec<Scope>>) -> Result<InstallSettings, ServiceError> {
let scopes = match only {
Expand Down

0 comments on commit c438440

Please sign in to comment.