From 6646b5f95be60bae36fd73c13469685f65161778 Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Thu, 19 Dec 2024 16:11:54 +0100 Subject: [PATCH] rusticl: fix clippy::doc-lazy-continuation Reviewed-by: @LingMan Part-of: --- src/gallium/frontends/rusticl/api/util.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/frontends/rusticl/api/util.rs b/src/gallium/frontends/rusticl/api/util.rs index b47664d2386..dcd059d8699 100644 --- a/src/gallium/frontends/rusticl/api/util.rs +++ b/src/gallium/frontends/rusticl/api/util.rs @@ -96,7 +96,7 @@ impl CLInfoValue<'_> { /// /// Type specific details: /// - Compatible with C arrays are `T` (if only one element is to be returned), `Vec` 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` 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