Mercurial
>
repos
>
alg_tools
/ annotate
Search:
summary
shortlog
changelog
graph
tags
bookmarks
branches
files
help
file
latest
revisions
annotate
diff
comparison
raw
src/error.rs@ac84e995e119 (annotated)
src/error.rs
Sat, 22 Oct 2022 22:28:04 +0300
author
Tuomo Valkonen <tuomov@iki.fi>
date
Sat, 22 Oct 2022 22:28:04 +0300
changeset 2
ac84e995e119
parent 0
9f27689eb130
child 4
61b068c50e25
permissions
-rw-r--r--
Convert iteration utilities to GATs
0
9f27689eb130
Initialise new clean repository
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
1
9f27689eb130
Initialise new clean repository
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
2
use std::error::Error;
9f27689eb130
Initialise new clean repository
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
3
9f27689eb130
Initialise new clean repository
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
4
pub type DynResult<T> = Result<T, Box<dyn Error>>;
9f27689eb130
Initialise new clean repository
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
5
pub type DynError = DynResult<()>;
9f27689eb130
Initialise new clean repository
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
6
9f27689eb130
Initialise new clean repository
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
7
9f27689eb130
Initialise new clean repository
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff
changeset
8