Add allow warnings for nonstandard macro braces

The warnings come from the macros of libraries that we use, so we can't
change them.
This commit is contained in:
Valentin Tolmer 2021-07-05 10:00:13 +02:00 committed by nitnelave
parent 65f0dfed84
commit d891529da9
3 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#![recursion_limit = "256"] #![recursion_limit = "256"]
#![allow(clippy::nonstandard_macro_braces)]
mod api; mod api;
mod app; mod app;
mod cookies; mod cookies;

View File

@ -1,3 +1,4 @@
#![allow(clippy::nonstandard_macro_braces)]
use chrono::prelude::*; use chrono::prelude::*;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::collections::HashSet; use std::collections::HashSet;

View File

@ -1,4 +1,6 @@
#![forbid(unsafe_code)] #![forbid(unsafe_code)]
#![allow(clippy::nonstandard_macro_braces)]
use crate::{ use crate::{
domain::{ domain::{
handler::BackendHandler, sql_backend_handler::SqlBackendHandler, sql_tables::PoolOptions, handler::BackendHandler, sql_backend_handler::SqlBackendHandler, sql_tables::PoolOptions,