[core] improve doc comment

parent ffb03359
Pipeline #100223 failed with stages
in 1 minute and 19 seconds
......@@ -70,8 +70,10 @@ impl<T> Default for Unset<T> {
}
}
/// Implemented by [`Set`] and [`Unset`] in order to unwrap their value in case
/// the use-size does not know if they are working with a set or unset value.
/// Implemented by [`Set`] and [`Unset`] in order to unwrap their value.
///
/// This is useful in case the use-site does not know if it is working with
/// a set or an unset value generically unwrap it using a closure for fallback.
pub trait Unwrap {
/// The output type of the `unwrap_or_else` operation.
type Output;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment