1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-29 08:09:18 +02:00

appease clippy by deriving Eq on a bunch of items (#2818)

This commit is contained in:
Rob Ede
2022-07-23 17:26:48 +02:00
committed by GitHub
parent 8d260e599f
commit 6408291ab0
17 changed files with 25 additions and 24 deletions

View File

@@ -3,7 +3,7 @@ use std::{cell::RefCell, ops, rc::Rc};
use bitflags::bitflags;
/// Represents various types of connection
#[derive(Copy, Clone, PartialEq, Debug)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum ConnectionType {
/// Close connection after response.
Close,