remove some #[allow(s

This commit is contained in:
missing 2022-06-09 21:00:24 -05:00
parent 9f86e3e85f
commit 17516e3b50
3 changed files with 6 additions and 7 deletions

View file

@ -1,9 +1,8 @@
//! Implements `Debug`, and `PartialEq` for various list-like types.
#[allow(clippy::wildcard_imports)]
use super::*;
use crate::{Vec, Extra};
use std::{fmt::Debug, ops::{Deref, DerefMut}, vec::Vec as StdVec};
use std::{fmt::Debug, ops::{Deref, DerefMut}, vec::Vec as StdVec, slice, mem::size_of};
impl<T: ?Sized> Default for Vec<T> {
fn default() -> Self {

View file

@ -1,7 +1,8 @@
//! Iteration.
#[allow(clippy::wildcard_imports)]
use super::*;
use std::{marker::PhantomData, mem, ptr::NonNull};
use crate::{Vec, ptr_ext::PtrExt};
struct BaseIter<T: ?Sized> {
ptr: *const *mut T,

View file

@ -150,8 +150,7 @@ use std::ops::CoerceUnsized;
type Coercer<T, U> = for<'a> fn(&'a T) -> &'a U;
mod ptr_ext;
#[allow(clippy::wildcard_imports)]
use ptr_ext::*;
use ptr_ext::{PtrExt, ConstPtrExt, MutPtrExt};
/// A heap allocated, dynamic length collection of `?Sized` elements.
///