mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
flatten more fns
This commit is contained in:
parent
fe9d5a309e
commit
e0f4ec9a15
5 changed files with 203 additions and 133 deletions
|
|
@ -6,8 +6,8 @@ mod keymap; pub use self::keymap::*;
|
|||
pub(crate) use ::tek_edn::*;
|
||||
/// Standard error trait.
|
||||
pub(crate) use std::error::Error;
|
||||
///// Standard result type.
|
||||
//pub(crate) type Usually<T> = Result<T, Box<dyn Error>>;
|
||||
/// Standard result type.
|
||||
#[cfg(test)] pub(crate) type Usually<T> = Result<T, Box<dyn Error>>;
|
||||
/// Standard optional result type.
|
||||
pub(crate) type Perhaps<T> = Result<Option<T>, Box<dyn Error>>;
|
||||
#[cfg(test)] #[test] fn test_stub_input () -> Usually<()> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue