Add comment for warn_result code

This commit is contained in:
Matthias Beyer 2016-09-04 17:12:54 +02:00
parent 87e170df72
commit ec9da007a5

View file

@ -1,3 +1,5 @@
// Generates a extension for the `Result<T, E>`, named `DebugResult` which has functionality to
// print either `T` or `E` via `warn!()`.
generate_result_logging_extension!( generate_result_logging_extension!(
WarnResult, WarnResult,
map_warn, map_warn,