Remove unneeded constructors for stories
This commit is contained in:
parent
65045b9c52
commit
61694bba6a
33 changed files with 62 additions and 227 deletions
|
@ -176,10 +176,6 @@ mod stories {
|
|||
pub struct TabStory;
|
||||
|
||||
impl TabStory {
|
||||
pub fn new() -> Self {
|
||||
Self
|
||||
}
|
||||
|
||||
fn render<V: 'static>(self, _view: &mut V, cx: &mut ViewContext<V>) -> impl Component<V> {
|
||||
let git_statuses = GitStatus::iter();
|
||||
let fs_statuses = FileSystemStatus::iter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue