diff --git a/crates/yakui-vulkan/src/lib.rs b/crates/yakui-vulkan/src/lib.rs index df79435e..1a879545 100644 --- a/crates/yakui-vulkan/src/lib.rs +++ b/crates/yakui-vulkan/src/lib.rs @@ -378,12 +378,12 @@ impl YakuiVulkan { self.uploads.phase_submitted(); } - /// Call when the commands associated with the oldest call to `commands_submitted` have finished. + /// Call when the commands associated with the oldest call to `transfers_submitted` have finished. /// /// ## Safety /// - /// Those commands recorded prior to the oldest call to `commands_submitted` not yet associated - /// with a call to `commands_finished` must not be executing. + /// Those commands recorded prior to the oldest call to `transfers_submitted` not yet associated + /// with a call to `transfers_finished` must not be executing. pub unsafe fn transfers_finished(&mut self, vulkan_context: &VulkanContext) { self.uploads.phase_executed(vulkan_context); } diff --git a/crates/yakui-widgets/src/shorthand.rs b/crates/yakui-widgets/src/shorthand.rs index acc1ccc1..2fcf5b6c 100644 --- a/crates/yakui-widgets/src/shorthand.rs +++ b/crates/yakui-widgets/src/shorthand.rs @@ -54,7 +54,7 @@ pub fn button>>(text: S) -> Response { Button::styled(text.into()).show() } -/// See [ColoredCircle]. +/// See [Circle]. pub fn colored_circle>(color: Color, size: S) -> Response { let mut circle = Circle::new(); circle.min_radius = size.into();