Skip to content

Commit

Permalink
Remove mut from raw_query (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvp authored Jul 5, 2024
1 parent c56e458 commit 1c5e7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/duckdb/src/statement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 1c5e7cd

Please sign in to comment.