Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Vidner <[email protected]>
  • Loading branch information
jreidinger and mvidner authored Dec 8, 2023
1 parent d4b2a87 commit 6980229
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust/agama-lib/src/software/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ impl<'a> SoftwareClient<'a> {
Ok(patterns)
}

/// Returns the selected patterns by user
/// Returns the ids of patterns selected by user
pub async fn user_selected_patterns(&self) -> Result<Vec<String>, ServiceError> {
const USER_SELECTED: u8 = 0;
let patterns: Vec<String> = self
Expand Down
2 changes: 1 addition & 1 deletion rust/agama-lib/src/software/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use serde::{Deserialize, Serialize};
#[derive(Debug, Default, Settings, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct SoftwareSettings {
/// List of patterns to install. If not specified use default.
/// List of patterns to install. If empty use default.
#[settings(collection)]
pub patterns: Vec<String>,
}

0 comments on commit 6980229

Please sign in to comment.