From f1347a091a40a627213c333ad1e5d5e839199370 Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Sat, 18 Nov 2023 16:57:38 +0100 Subject: [PATCH] clippy: replace deprecated MAX constant with one from type --- ash-examples/src/bin/texture.rs | 2 +- ash-examples/src/bin/triangle.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ash-examples/src/bin/texture.rs b/ash-examples/src/bin/texture.rs index 96ffadc43..f2f7af195 100644 --- a/ash-examples/src/bin/texture.rs +++ b/ash-examples/src/bin/texture.rs @@ -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(), ) diff --git a/ash-examples/src/bin/triangle.rs b/ash-examples/src/bin/triangle.rs index 621b57b2e..a94c6efb6 100644 --- a/ash-examples/src/bin/triangle.rs +++ b/ash-examples/src/bin/triangle.rs @@ -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(), )