Skip to content

Commit

Permalink
refactor(app_data): update function returns
Browse files Browse the repository at this point in the history
  • Loading branch information
icanvardar committed Nov 4, 2024
1 parent dedd08c commit e16a812
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/util/app_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ impl AppData {
}

pub fn get_language(&self) -> &str {
return self.language.as_ref();
self.language.as_ref()
}

pub fn get_thread_count(&self) -> u8 {
return self.thread_count;
self.thread_count
}

pub fn get_max_suggestion(&self) -> u8 {
return self.max_suggestion;
self.max_suggestion
}
}

Expand Down

0 comments on commit e16a812

Please sign in to comment.