From 1c5e7cd30adcae3bcdd24a65eb1ad8b665f1dae2 Mon Sep 17 00:00:00 2001 From: Rijk van Putten Date: Fri, 5 Jul 2024 21:49:17 +0200 Subject: [PATCH] Remove mut from raw_query (#339) --- crates/duckdb/src/statement.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/duckdb/src/statement.rs b/crates/duckdb/src/statement.rs index a30c11c6..1b0ceca8 100644 --- a/crates/duckdb/src/statement.rs +++ b/crates/duckdb/src/statement.rs @@ -448,7 +448,7 @@ impl Statement<'_> { /// Note that if the SQL does not return results, [`Statement::raw_execute`] /// should be used instead. #[inline] - pub fn raw_query(&mut self) -> Rows<'_> { + pub fn raw_query(&self) -> Rows<'_> { Rows::new(self) }