Skip to content

Commit 5261790

Browse files
committed
Fix clippy errors.
Signed-off-by: Nicola Bonelli <[email protected]>
1 parent 5922a45 commit 5261790

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

orion-format/src/grammar.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ macro_rules! trie_mapstr {
1313
};
1414
}
1515

16+
#[allow(clippy::non_std_lazy_statics)]
1617
lazy_static! {
1718
static ref ENVOY_REQ_ARGS: Trie<u8, (Operator, Category, usize, bool)> = {
1819
let mut trie = Trie::new();

orion-format/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ struct IndexedTemplate {
5959
indices: [Vec<u8>; Category::COUNT],
6060
}
6161

62+
#[allow(clippy::unsafe_derive_deserialize)]
6263
#[derive(PartialEq, Eq, Debug, Clone, Serialize, Deserialize)]
6364
pub struct LogFormatter {
6465
catalog: Arc<IndexedTemplate>,

0 commit comments

Comments
 (0)