summaryrefslogtreecommitdiffstats
path: root/libimagutil
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-09-04 17:12:54 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-09-05 16:15:45 +0200
commit2c89de13320addbe702d5e853e0d4bbf37a511ff (patch)
tree6c0e7d6e8fb85824a2c0fb1bbcf91d160fdf63f8 /libimagutil
parent6b6e3a0e12c0e207d45027d7d83faedc9ae7984d (diff)
Add comment for debug_result code
Diffstat (limited to 'libimagutil')
-rw-r--r--libimagutil/src/debug_result.rs2
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,