Skip to content

Commit bb9e12e

Browse files
committed
clippy: Replace deprecated MAX constant with one from type
1 parent aab228a commit bb9e12e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ash-examples/src/bin/texture.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ fn main() {
689689
.swapchain_loader
690690
.acquire_next_image(
691691
base.swapchain,
692-
std::u64::MAX,
692+
u64::MAX,
693693
base.present_complete_semaphore,
694694
vk::Fence::null(),
695695
)

ash-examples/src/bin/triangle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ fn main() {
352352
.swapchain_loader
353353
.acquire_next_image(
354354
base.swapchain,
355-
std::u64::MAX,
355+
u64::MAX,
356356
base.present_complete_semaphore,
357357
vk::Fence::null(),
358358
)

0 commit comments

Comments
 (0)