Correctly explain ensure_forwards_result_if_red

This commit is contained in:
Oli Scherer 2024-01-24 11:04:13 +00:00
parent db7cd57091
commit cc34dc2bc7

View File

@ -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>,
}