1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-26 15:07:42 +02:00

update bitflags to v2

This commit is contained in:
Rob Ede
2023-05-06 11:38:51 +01:00
parent 8b2b755cde
commit 6fdda45ca3
8 changed files with 8 additions and 2 deletions

View File

@ -29,6 +29,7 @@ use mime_guess::from_path;
use crate::{encoding::equiv_utf8_text, range::HttpRange};
bitflags! {
#[derive(Debug, Clone, Copy)]
pub(crate) struct Flags: u8 {
const ETAG = 0b0000_0001;
const LAST_MD = 0b0000_0010;