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.
|
//! Implements `Debug`, and `PartialEq` for various list-like types.
|
||||||
|
|
||||||
#[allow(clippy::wildcard_imports)]
|
use crate::{Vec, Extra};
|
||||||
use super::*;
|
|
||||||
|
|
||||||
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> {
|
impl<T: ?Sized> Default for Vec<T> {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
//! Iteration.
|
//! Iteration.
|
||||||
|
|
||||||
#[allow(clippy::wildcard_imports)]
|
use std::{marker::PhantomData, mem, ptr::NonNull};
|
||||||
use super::*;
|
|
||||||
|
use crate::{Vec, ptr_ext::PtrExt};
|
||||||
|
|
||||||
struct BaseIter<T: ?Sized> {
|
struct BaseIter<T: ?Sized> {
|
||||||
ptr: *const *mut T,
|
ptr: *const *mut T,
|
||||||
|
|
|
@ -150,8 +150,7 @@ use std::ops::CoerceUnsized;
|
||||||
type Coercer<T, U> = for<'a> fn(&'a T) -> &'a U;
|
type Coercer<T, U> = for<'a> fn(&'a T) -> &'a U;
|
||||||
|
|
||||||
mod ptr_ext;
|
mod ptr_ext;
|
||||||
#[allow(clippy::wildcard_imports)]
|
use ptr_ext::{PtrExt, ConstPtrExt, MutPtrExt};
|
||||||
use ptr_ext::*;
|
|
||||||
|
|
||||||
/// A heap allocated, dynamic length collection of `?Sized` elements.
|
/// A heap allocated, dynamic length collection of `?Sized` elements.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue