From c3250b64a6fa87593afed340e1e472b6b5e68ce4 Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Mon, 30 Jun 2025 09:59:30 +0300 Subject: [PATCH] core: Make clippy happy ...I actually have no idea why Clippy complains now, but not in main. --- core/util.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/util.rs b/core/util.rs index 691dfac3b..145235494 100644 --- a/core/util.rs +++ b/core/util.rs @@ -670,6 +670,7 @@ impl OpenMode { ))), } } + #[allow(dead_code)] pub fn get_flags(&self) -> OpenFlags { match self { OpenMode::ReadWriteCreate => OpenFlags::Create, @@ -705,6 +706,7 @@ fn normalize_windows_path(path: &str) -> String { } /// Parses a SQLite URI, handling Windows and Unix paths separately. +#[allow(dead_code)] pub fn parse_sqlite_uri(uri: &str) -> Result { if !uri.starts_with("file:") { return Ok(OpenOptions {