diff options
author | rabite <rabite@posteo.de> | 2019-03-29 02:53:21 +0100 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-03-29 02:53:21 +0100 |
commit | b52e63fd8d74ed7587db6d37aca585f6185c77a3 (patch) | |
tree | 2e4a24610b1ab090dcb133ca542f39595e831436 /src/fail.rs | |
parent | 8d8d9631b5fce48e2e65410aa4d0df64948f5ad8 (diff) |
global file cache/event dispatch
Diffstat (limited to 'src/fail.rs')
-rw-r--r-- | src/fail.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fail.rs b/src/fail.rs index c85028c..ea5a4a7 100644 --- a/src/fail.rs +++ b/src/fail.rs @@ -88,7 +88,7 @@ pub enum HError { } impl HError { - pub fn log(log: String) -> HResult<()> { + pub fn log<T>(log: String) -> HResult<T> { Err(HError::Log(log)) } pub fn quit() -> HResult<()> { |