Skip to content

Commit

Permalink
clippy: replace deprecated MAX constant with one from type
Browse files Browse the repository at this point in the history
  • Loading branch information
filnet committed Nov 18, 2023
1 parent 3a8d012 commit f1347a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ash-examples/src/bin/texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ fn main() {
.swapchain_loader
.acquire_next_image(
base.swapchain,
std::u64::MAX,
u64::MAX,
base.present_complete_semaphore,
vk::Fence::null(),
)
Expand Down
2 changes: 1 addition & 1 deletion ash-examples/src/bin/triangle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ fn main() {
.swapchain_loader
.acquire_next_image(
base.swapchain,
std::u64::MAX,
u64::MAX,
base.present_complete_semaphore,
vk::Fence::null(),
)
Expand Down

0 comments on commit f1347a0

Please sign in to comment.