mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 10:40:54 +00:00
Make clippy happy
This commit is contained in:
parent
804c4c512b
commit
e2200109e6
3 changed files with 1 additions and 6 deletions
|
@ -301,7 +301,6 @@ struct WindowState {
|
|||
previous_modifiers_changed_event: Option<Event>,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
struct InsertText {
|
||||
replacement_range: Option<Range<usize>>,
|
||||
text: String,
|
||||
|
@ -757,8 +756,6 @@ extern "C" fn handle_key_event(this: &Object, native_event: id, key_equivalent:
|
|||
let function_is_held;
|
||||
window_state_borrow.pending_key_down = match event {
|
||||
Event::KeyDown(event) => {
|
||||
dbg!(&event);
|
||||
|
||||
let keydown = event.keystroke.clone();
|
||||
// Ignore events from held-down keys after some of the initially-pressed keys
|
||||
// were released.
|
||||
|
@ -799,7 +796,6 @@ extern "C" fn handle_key_event(this: &Object, native_event: id, key_equivalent:
|
|||
}
|
||||
|
||||
if !handled {
|
||||
println!("not handling, {:?}", insert_text);
|
||||
if let Some(insert) = insert_text {
|
||||
handled = true;
|
||||
with_input_handler(this, |input_handler| {
|
||||
|
|
|
@ -243,7 +243,7 @@ pub fn to_esc_str(keystroke: &Keystroke, mode: &TermMode) -> Option<String> {
|
|||
}
|
||||
}
|
||||
|
||||
Some(keystroke.key.to_string())
|
||||
None
|
||||
}
|
||||
|
||||
/// Code Modifiers
|
||||
|
|
1
styles/package-lock.json
generated
1
styles/package-lock.json
generated
|
@ -5,7 +5,6 @@
|
|||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "styles",
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in a new issue