Correctly explain ensure_forwards_result_if_red
This commit is contained in:
parent
db7cd57091
commit
cc34dc2bc7
1 changed files with 2 additions and 1 deletions
|
@ -120,7 +120,8 @@ struct QueryModifiers {
|
|||
|
||||
/// Forward the result on ensure if the query gets recomputed, and
|
||||
/// return `Ok(())` otherwise. Only applicable to queries returning
|
||||
/// `Result<(), ErrorGuaranteed>`
|
||||
/// `Result<T, ErrorGuaranteed>`. The `T` is not returned from `ensure`
|
||||
/// invocations.
|
||||
ensure_forwards_result_if_red: Option<Ident>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue