Allow large enum variant to avoid clippy warning
This commit is contained in:
parent
0d23307f86
commit
309ec94cdb
|
@ -25,6 +25,7 @@ pub struct FlashContext {
|
|||
|
||||
/// A helper enum which allows routes to either return a Template or a Redirect
|
||||
/// from: https://github.com/SergioBenitez/Rocket/issues/253#issuecomment-532356066
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
#[derive(Debug, Responder)]
|
||||
pub enum TemplateOrRedirect {
|
||||
Template(Template),
|
||||
|
|
Loading…
Reference in New Issue