mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-10-30 08:20:52 +08:00
lib: Fix clippy
This commit is contained in:
@@ -12,7 +12,7 @@ use crate::ui::{RENDER_WIDTH_LARGE, RENDER_WIDTH_MEDIUM, RENDER_WIDTH_SMALL};
|
||||
|
||||
use super::{PredefinedLayout, RenderProps, View, ViewProps, Widget};
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, Default)]
|
||||
pub struct ColumnView {
|
||||
small: bool,
|
||||
medium: bool,
|
||||
@@ -44,16 +44,6 @@ impl ColumnView {
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for ColumnView {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
small: false,
|
||||
medium: false,
|
||||
large: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct Column<'a> {
|
||||
pub text: Text<'a>,
|
||||
|
||||
Reference in New Issue
Block a user