Add comment for warn_result code
This commit is contained in:
parent
87e170df72
commit
ec9da007a5
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue