Remove unneeded constructors for stories

This commit is contained in:
Marshall Bowers 2023-10-26 16:46:49 +02:00
parent 65045b9c52
commit 61694bba6a
33 changed files with 62 additions and 227 deletions

View file

@ -168,10 +168,6 @@ mod stories {
pub struct KeybindingStory;
impl KeybindingStory {
pub fn new() -> Self {
Self
}
fn render<V: 'static>(self, _view: &mut V, cx: &mut ViewContext<V>) -> impl Component<V> {
let all_modifier_permutations = ModifierKey::iter().permutations(2);