From 156a88d74f38953efaf76c6dadce482875894580 Mon Sep 17 00:00:00 2001 From: Jack Rubacha Date: Sat, 23 Nov 2024 00:47:01 -0500 Subject: [PATCH] fmt and fix --- scylla-server/src/controllers/file_insertion_controller.rs | 2 +- scylla-server/src/controllers/mod.rs | 2 +- scylla-server/src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scylla-server/src/controllers/file_insertion_controller.rs b/scylla-server/src/controllers/file_insertion_controller.rs index 9c4f0af9..b3612b45 100644 --- a/scylla-server/src/controllers/file_insertion_controller.rs +++ b/scylla-server/src/controllers/file_insertion_controller.rs @@ -36,7 +36,7 @@ pub async fn insert_file( } // if this is the last item in the list None => { - run_rng.insert(it.1..=std::u64::MAX, it.0); + run_rng.insert(it.1..=u64::MAX, it.0); continue; } } diff --git a/scylla-server/src/controllers/mod.rs b/scylla-server/src/controllers/mod.rs index 9c77cd4f..280a0e0e 100644 --- a/scylla-server/src/controllers/mod.rs +++ b/scylla-server/src/controllers/mod.rs @@ -4,4 +4,4 @@ pub mod data_controller; pub mod data_type_controller; pub mod run_controller; -pub mod file_insertion_controller; \ No newline at end of file +pub mod file_insertion_controller; diff --git a/scylla-server/src/lib.rs b/scylla-server/src/lib.rs index 9b8954be..7043a662 100644 --- a/scylla-server/src/lib.rs +++ b/scylla-server/src/lib.rs @@ -13,8 +13,8 @@ pub mod models; pub mod schema; pub mod command_data; -pub mod serverdata; pub mod playback_data; +pub mod serverdata; pub mod transformers;