mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-03 21:07:39 +03:00
Glommio clippy (#341)
This commit is contained in:
parent
a858394855
commit
ec8eb23707
17 changed files with 28 additions and 50 deletions
|
@ -30,4 +30,4 @@ simdutf8 = { version = "0.1.4", optional = true }
|
|||
serde_test = "1"
|
||||
serde_json = "1"
|
||||
ntex = { version = "1", features = ["tokio"] }
|
||||
ntex-bytes = { version = "*", features = ["mpool"] }
|
||||
ntex-bytes = { path = ".", features = ["mpool"] }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use std::{cmp, mem, ptr, usize};
|
||||
use std::{cmp, mem, ptr};
|
||||
|
||||
use super::{UninitSlice, Writer};
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ use std::borrow::{Borrow, BorrowMut};
|
|||
use std::ops::{Deref, DerefMut, RangeBounds};
|
||||
use std::sync::atomic::Ordering::{Acquire, Relaxed, Release};
|
||||
use std::sync::atomic::{self, AtomicUsize};
|
||||
use std::{cmp, fmt, hash, mem, ptr, ptr::NonNull, slice, usize};
|
||||
use std::{cmp, fmt, hash, mem, ptr, ptr::NonNull, slice};
|
||||
|
||||
use crate::pool::{PoolId, PoolRef};
|
||||
use crate::{buf::IntoIter, buf::UninitSlice, debug, Buf, BufMut};
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
use ntex_bytes::{BufMut, BytesMut};
|
||||
use std::fmt::Write;
|
||||
use std::usize;
|
||||
|
||||
#[test]
|
||||
fn test_vec_as_mut_buf() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue