mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
rusticl: fix clippy::doc-lazy-continuation
Reviewed-by: @LingMan Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32723>
This commit is contained in:
parent
c2ec0c26fd
commit
6646b5f95b
1 changed files with 2 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ impl CLInfoValue<'_> {
|
|||
///
|
||||
/// Type specific details:
|
||||
/// - Compatible with C arrays are `T` (if only one element is to be returned), `Vec<T>` or `&[T]`
|
||||
/// types.
|
||||
/// types.
|
||||
/// - Compatible with C strings are all basic Rust string types.
|
||||
/// - `bool`s are automatically converted to `cl_bool`.
|
||||
/// - For queries which can return no data, `Option<T>` can be used.
|
||||
|
|
@ -205,6 +205,7 @@ impl CLInfoValue<'_> {
|
|||
/// 1. To ask the implementation of how much data will be returned. The application uses this
|
||||
/// to allocate enough memory to be passed into the next call.
|
||||
/// 2. To actually execute the query.
|
||||
///
|
||||
/// This trait abstracts this pattern properly away to make it easier to implement it.
|
||||
///
|
||||
/// [CLInfoValue] contains helper functions to read and write data behind opaque buffers, the
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue