git.iko.soy
/
helix
readme
files
commits
refs
on
master
help
sign in
clippy lints
c4792ef
Blaž Hrastnik
6 years ago
helix-core/src/selection.rs
+1
compare with master
unified
split
@@ -133,6 +133,7 @@ pub struct Selection {
133
primary_index: usize,
133
primary_index: usize,
134
}
134
}
135
135
136
+
#[allow(clippy::len_without_is_empty)]
// a Selection is never empty
136
impl
Selection {
137
impl
Selection {
137
// eq
138
// eq
138
139
helix-term/src/application.rs
+1
−1
@@ -46,8 +46,8 @@ impl Application {
46
compositor.push(Box::new(ui::EditorView::new()));
46
compositor.push(Box::new(ui::EditorView::new()));
47
47
48
let
mut
app = Self {
48
let
mut
app = Self {
49
−
editor,
50
compositor,
49
compositor,
50
+
editor,
51
51
52
executor,
52
executor,
53
};
53
};
helix-view/src/theme.rs
+1
−1
@@ -139,7 +139,7 @@ impl Default for Theme {
139
139
140
let
scopes = mapping.keys().map(ToString::to_string).collect();
140
let
scopes = mapping.keys().map(ToString::to_string).collect();
141
141
142
−
Self { mapping
, scopes
}
142
+
Self {
scopes,
mapping }
143
}
143
}
144
}
144
}
145
145
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list