diff options
| author | henil <dedaniahenil@gmail.com> | 2021-02-10 15:49:41 +0530 |
|---|---|---|
| committer | henil <dedaniahenil@gmail.com> | 2021-02-10 15:49:41 +0530 |
| commit | 436b4ee19ea7c044ec9af4c24a05f4d3fb8a3e8a (patch) | |
| tree | ee87ed2c634001b9567da3a371b871cf71a14cdb /src | |
| parent | And from Goodbye message (diff) | |
| download | sl0ppij-436b4ee19ea7c044ec9af4c24a05f4d3fb8a3e8a.tar.gz sl0ppij-436b4ee19ea7c044ec9af4c24a05f4d3fb8a3e8a.tar.xz sl0ppij-436b4ee19ea7c044ec9af4c24a05f4d3fb8a3e8a.zip | |
fix: Some warnings
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/tab.rs | 3 | ||||
| -rw-r--r-- | src/common/wasm_vm.rs | 3 | ||||
| -rw-r--r-- | src/main.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/client/tab.rs b/src/client/tab.rs index b7f0e5c2..3b508a82 100644 --- a/src/client/tab.rs +++ b/src/client/tab.rs @@ -1905,7 +1905,8 @@ impl Tab { debug_log_to_file(format!( "set_pane_invisible_borders: {:?}", invisible_borders - )); + )) + .expect("Must be able to write to log file"); if let Some(pane) = self.panes.get_mut(&id) { pane.set_invisible_borders(invisible_borders); } diff --git a/src/common/wasm_vm.rs b/src/common/wasm_vm.rs index 5b4c891d..fcc739cb 100644 --- a/src/common/wasm_vm.rs +++ b/src/common/wasm_vm.rs @@ -4,8 +4,7 @@ use std::{ }; use wasmer::{imports, Function, ImportObject, Store, WasmerEnv}; use wasmer_wasi::WasiEnv; - -use crate::utils::logging::debug_log_to_file; +// use crate::utils::logging::debug_log_to_file; use super::{ input::handler::get_help, pty_bus::PtyInstruction, screen::ScreenInstruction, AppInstruction, diff --git a/src/main.rs b/src/main.rs index e02abd5c..50c0b6f3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,7 +8,7 @@ mod client; use client::{boundaries, layout, panes, tab}; use common::{ - command_is_executing, errors, ipc, os_input_output, pty_bus, screen, start, utils, wasm_vm, + command_is_executing, errors, os_input_output, pty_bus, screen, start, utils, wasm_vm, ApiCommand, }; |
