From a6b5c9893de0054d1907b357f593a48a3135aa0d Mon Sep 17 00:00:00 2001 From: asonix Date: Sat, 18 May 2024 13:14:10 -0500 Subject: [PATCH] Make fmt lint happy --- actix-http/src/h1/encoder.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/actix-http/src/h1/encoder.rs b/actix-http/src/h1/encoder.rs index 90eef591..6fce4700 100644 --- a/actix-http/src/h1/encoder.rs +++ b/actix-http/src/h1/encoder.rs @@ -8,6 +8,7 @@ use std::{ use bytes::{BufMut, Bytes, BytesMut}; +use super::big_bytes::BigBytes; use crate::{ body::BodySize, header::{ @@ -16,8 +17,6 @@ use crate::{ helpers, ConnectionType, RequestHeadType, Response, ServiceConfig, StatusCode, Version, }; -use super::big_bytes::BigBytes; - const AVERAGE_HEADER_SIZE: usize = 30; #[derive(Debug)]