Skip to content

Commit

Permalink
Fix broken doc references (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
patowen authored May 6, 2024
1 parent 21dc69a commit 4782fb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions crates/yakui-vulkan/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion crates/yakui-widgets/src/shorthand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub fn button<S: Into<Cow<'static, str>>>(text: S) -> Response<ButtonResponse> {
Button::styled(text.into()).show()
}

/// See [ColoredCircle].
/// See [Circle].
pub fn colored_circle<S: Into<f32>>(color: Color, size: S) -> Response<CircleResponse> {
let mut circle = Circle::new();
circle.min_radius = size.into();
Expand Down

0 comments on commit 4782fb3

Please sign in to comment.