diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-09-04 17:12:54 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2016-09-05 16:15:45 +0200 |
commit | 2c89de13320addbe702d5e853e0d4bbf37a511ff (patch) | |
tree | 6c0e7d6e8fb85824a2c0fb1bbcf91d160fdf63f8 /libimagutil | |
parent | 6b6e3a0e12c0e207d45027d7d83faedc9ae7984d (diff) |
Add comment for debug_result code
Diffstat (limited to 'libimagutil')
-rw-r--r-- | libimagutil/src/debug_result.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libimagutil/src/debug_result.rs b/libimagutil/src/debug_result.rs index 76ed1085..405cddd8 100644 --- a/libimagutil/src/debug_result.rs +++ b/libimagutil/src/debug_result.rs @@ -1,3 +1,5 @@ +// Generates a extension for the `Result<T, E>`, named `DebugResult` which has functionality to +// print either `T` or `E` via `debug!()`. generate_result_logging_extension!( DebugResult, map_dbg, |