Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
oiwn committed Aug 18, 2024
1 parent 3d2619c commit 1e490ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub trait Configurable {
let remaining_keys = &keys[1..];

if let Some(value) =
map.get(&serde_yaml::Value::String(key.to_string()))
map.get(serde_yaml::Value::String(key.to_string()))
{
if remaining_keys.is_empty() {
Some(value)
Expand Down
1 change: 1 addition & 0 deletions src/manager/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ where
/// 1) pop task from queue (or wait a bit)
/// 2) run computation over task
/// 3) update task according to computation result
///
/// Return true if should continue or false otherwise
pub async fn run(&mut self) -> anyhow::Result<bool> {
// Implement limiting amount of tasks per worker
Expand Down

0 comments on commit 1e490ae

Please sign in to comment.