From f908a1d8d29e2c051c4a2619332be4e5c3f45a77 Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 6 May 2024 14:56:34 -0400 Subject: [PATCH] Fix broken doc references (#156) --- crates/yakui-vulkan/src/lib.rs | 6 +++--- crates/yakui-widgets/src/shorthand.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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();