Remove missing_debug_implementations lint
This commit is contained in:
parent
89b7585465
commit
5796ba272e
70 changed files with 0 additions and 90 deletions
|
|
@ -20,7 +20,6 @@ use std::borrow::Borrow;
|
|||
/// to turn it into an [`Element`].
|
||||
///
|
||||
/// [built-in widget]: crate::widget
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Element<'a, Message, Theme, Renderer> {
|
||||
widget: Box<dyn Widget<Message, Theme, Renderer> + 'a>,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
/// The hasher used to compare layouts.
|
||||
#[allow(missing_debug_implementations)] // Doesn't really make sense to have debug on the hasher state anyways.
|
||||
#[derive(Default)]
|
||||
pub struct Hasher(rustc_hash::FxHasher);
|
||||
|
||||
impl core::hash::Hasher for Hasher {
|
||||
fn write(&mut self, bytes: &[u8]) {
|
||||
self.0.write(bytes);
|
||||
}
|
||||
|
||||
fn finish(&self) -> u64 {
|
||||
self.0.finish()
|
||||
}
|
||||
}
|
||||
|
|
@ -7,7 +7,6 @@ use crate::widget;
|
|||
use crate::{Clipboard, Event, Layout, Shell, Size};
|
||||
|
||||
/// A generic [`Overlay`].
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Element<'a, Message, Theme, Renderer> {
|
||||
overlay: Box<dyn Overlay<Message, Theme, Renderer> + 'a>,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ use crate::{Clipboard, Event, Layout, Overlay, Shell, Size};
|
|||
|
||||
/// An [`Overlay`] container that displays multiple overlay [`overlay::Element`]
|
||||
/// children.
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Group<'a, Message, Theme, Renderer> {
|
||||
children: Vec<overlay::Element<'a, Message, Theme, Renderer>>,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ use crate::widget;
|
|||
use crate::{Clipboard, Event, Layout, Shell, Size};
|
||||
|
||||
/// An overlay container that displays nested overlays
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Nested<'a, Message, Theme, Renderer> {
|
||||
overlay: overlay::Element<'a, Message, Theme, Renderer>,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -256,7 +256,6 @@ where
|
|||
A: 'static,
|
||||
B: 'static,
|
||||
{
|
||||
#[allow(missing_debug_implementations)]
|
||||
struct Map<O, A, B> {
|
||||
operation: O,
|
||||
f: Arc<dyn Fn(A) -> B + Send + Sync>,
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ pub use text::{Alignment, LineHeight, Shaping, Wrapping};
|
|||
/// .into()
|
||||
/// }
|
||||
/// ```
|
||||
#[allow(missing_debug_implementations)]
|
||||
pub struct Text<'a, Theme, Renderer>
|
||||
where
|
||||
Theme: Catalog,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue