Another batch of lint fixes (#36521)
- **Enable a bunch of extra lints** - **First batch of fixes** - **More fixes** Release Notes: - N/A
This commit is contained in:
parent
69b1c6d6f5
commit
6825715503
147 changed files with 788 additions and 1042 deletions
|
@ -78,7 +78,7 @@ impl RenderOnce for Facepile {
|
|||
}
|
||||
}
|
||||
|
||||
pub const EXAMPLE_FACES: [&'static str; 6] = [
|
||||
pub const EXAMPLE_FACES: [&str; 6] = [
|
||||
"https://avatars.githubusercontent.com/u/326587?s=60&v=4",
|
||||
"https://avatars.githubusercontent.com/u/2280405?s=60&v=4",
|
||||
"https://avatars.githubusercontent.com/u/1789?s=60&v=4",
|
||||
|
|
|
@ -616,7 +616,7 @@ impl SwitchField {
|
|||
Self {
|
||||
id: id.into(),
|
||||
label: label.into(),
|
||||
description: description,
|
||||
description,
|
||||
toggle_state: toggle_state.into(),
|
||||
on_click: Arc::new(on_click),
|
||||
disabled: false,
|
||||
|
|
|
@ -175,7 +175,7 @@ impl Tooltip {
|
|||
move |_, cx| {
|
||||
let title = title.clone();
|
||||
cx.new(|_| Self {
|
||||
title: title,
|
||||
title,
|
||||
meta: None,
|
||||
key_binding: None,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue