Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Jul 17, 2023
1 parent cd79884 commit a0f1765
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rust/agama-dbus-server/src/questions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ impl Questions {

/// tries to provide answer to question using answer strategies
///
/// What happens underhood is that it user answer_strategies vector
/// What happens under the hood is that it uses answer_strategies vector
/// and try to find the first strategy that provides answer. When
/// aswer is provided, it returns immediatelly.
/// answer is provided, it returns immediately.
fn fill_answer(&self, question: &mut GenericQuestion) {
for strategy in self.answer_strategies.iter() {
match strategy.answer(question) {
Expand All @@ -266,9 +266,9 @@ impl Questions {

/// tries to provide answer to question using answer strategies
///
/// What happens underhood is that it user answer_strategies vector
/// What happens under the hood is that it uses answer_strategies vector
/// and try to find the first strategy that provides answer. When
/// aswer is provided, it returns immediatelly.
/// answer is provided, it returns immediately.
fn fill_answer_with_password(&self, question: &mut WithPassword) {
for strategy in self.answer_strategies.iter() {
let (answer, password) = strategy.answer_with_password(question);
Expand Down

0 comments on commit a0f1765

Please sign in to comment.