mirror of https://github.com/helix-editor/helix
Address clippy lint
parent
4fd38f82a3
commit
3cee0bf200
|
@ -34,6 +34,12 @@ pub struct EditorView {
|
||||||
|
|
||||||
const OFFSET: u16 = 7; // 1 diagnostic + 5 linenr + 1 gutter
|
const OFFSET: u16 = 7; // 1 diagnostic + 5 linenr + 1 gutter
|
||||||
|
|
||||||
|
impl Default for EditorView {
|
||||||
|
fn default() -> Self {
|
||||||
|
Self::new()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl EditorView {
|
impl EditorView {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
Self {
|
Self {
|
||||||
|
|
Loading…
Reference in New Issue