Skip to content

Commit

Permalink
maintenance4: Fix documented output parameter now named out
Browse files Browse the repository at this point in the history
This naming was changed at the last resort across the other `_len()`
variant calls to be consistent, but the maintenance4 PR didn't have its
documentation updated (probably some rust-analyzer "rename symbol"
action).

Fixes: 50d58fd ("extensions: Add VK_KHR_maintenance4")
  • Loading branch information
MarijnS95 authored and Ralith committed Nov 19, 2021
1 parent f628ef1 commit af77339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ash/src/extensions/khr/maintenance4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ impl Maintenance4 {

#[doc = "<https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/vkGetDeviceImageSparseMemoryRequirementsKHR.html>"]
///
/// Call [`Self::get_device_image_sparse_memory_requirements_len()`] to query the number of elements to pass to `sparse_memory_requirements`.
/// Call [`Self::get_device_image_sparse_memory_requirements_len()`] to query the number of elements to pass to `out`.
/// Be sure to [`Default::default()`]-initialize these elements and optionally set their `p_next` pointer.
pub unsafe fn get_device_image_sparse_memory_requirements(
&self,
Expand Down

0 comments on commit af77339

Please sign in to comment.