Skip to content

Commit

Permalink
Fix cargo doc warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
kenba committed Dec 21, 2024
1 parent 2c2e6e8 commit f87a294
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ impl<T> Buffer<T> {
/// * `flags` - a bit-field used to specify allocation and usage information
/// about the sub-buffer memory object being created, see:
/// [Memory Flags](https://www.khronos.org/registry/OpenCL/specs/3.0-unified/html/OpenCL_API.html#memory-flags-table).
/// * `origin` - the offset in number of objects of type <T>.
/// * `count` - the size of the sub-buffer in number of objects of type <T>.
/// * `origin` - the offset in number of objects of type `T``.
/// * `count` - the size of the sub-buffer in number of objects of type `T``.
///
/// returns a Result containing the new OpenCL buffer object
/// or the error code from the OpenCL C API function.
Expand Down

0 comments on commit f87a294

Please sign in to comment.