remove some #[allow(
s
This commit is contained in:
parent
9f86e3e85f
commit
17516e3b50
|
@ -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 {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue