Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bragov4ik committed Dec 6, 2024
1 parent 43878b5 commit 5dbcbce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions stats/stats-server/src/config/read/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ impl From<json::layout::Config> for Config {
///
/// `push_missing_items_back`:
/// - if `true`, then items not present in
/// `layout` are placed at the end of the vector in their original
/// relative order.
/// `layout` are placed at the end of the vector in their original
/// relative order.
/// - if `false` - at the beginning with the same logic.
pub fn sorted_items_according_to_layout<Item, Key, F>(
to_sort: Vec<Item>,
layout: &Vec<Key>,
layout: &[Key],
get_key: F,
push_missing_items_back: bool,
) -> Vec<Item>
Expand Down
2 changes: 1 addition & 1 deletion stats/stats-server/src/config/types.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Common types for the configs
use std::collections::{BTreeMap, HashMap, HashSet};
use std::collections::{BTreeMap, HashSet};

use cron::Schedule;
use serde::{Deserialize, Serialize};
Expand Down

0 comments on commit 5dbcbce

Please sign in to comment.