Address clippy lint

pull/160/head
Blaž Hrastnik 2021-06-07 23:08:51 +09:00
parent 4fd38f82a3
commit 3cee0bf200
1 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,12 @@ pub struct EditorView {
const OFFSET: u16 = 7; // 1 diagnostic + 5 linenr + 1 gutter
impl Default for EditorView {
fn default() -> Self {
Self::new()
}
}
impl EditorView {
pub fn new() -> Self {
Self {