aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/errors.rs
diff options
context:
space:
mode:
authordenis <denismaximov98@gmail.com>2021-01-29 07:21:33 +0200
committerdenis <denismaximov98@gmail.com>2021-01-29 07:21:33 +0200
commitbe9a05911617401a4ca9d54e0ab42a6c18d3cc2c (patch)
tree5e69b639a00ca71fc4d46a91e5b3e15b43ab233f /src/common/errors.rs
parentMerge branch 'main' into restructure (diff)
downloadsl0ppij-be9a05911617401a4ca9d54e0ab42a6c18d3cc2c.tar.gz
sl0ppij-be9a05911617401a4ca9d54e0ab42a6c18d3cc2c.tar.xz
sl0ppij-be9a05911617401a4ca9d54e0ab42a6c18d3cc2c.zip
wip: moved stuff from main into common
Diffstat (limited to 'src/common/errors.rs')
-rw-r--r--src/common/errors.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/errors.rs b/src/common/errors.rs
index ad2ae7eb..c646b160 100644
--- a/src/common/errors.rs
+++ b/src/common/errors.rs
@@ -1,13 +1,13 @@
use crate::pty_bus::PtyInstruction;
use crate::screen::ScreenInstruction;
-use crate::{AppInstruction, OPENCALLS};
+use super::{AppInstruction, OPENCALLS};
use std::fmt::{Display, Error, Formatter};
const MAX_THREAD_CALL_STACK: usize = 6;
#[cfg(not(test))]
-use crate::SenderWithContext;
+use super::SenderWithContext;
#[cfg(not(test))]
use std::panic::PanicInfo;
#[cfg(not(test))]