diff --git a/src/query/update.rs b/src/query/update.rs index f86855dc1..f661650d2 100644 --- a/src/query/update.rs +++ b/src/query/update.rs @@ -316,7 +316,7 @@ impl UpdateStatement { } /// Get column values - pub fn get_values(&self) -> &Vec<(DynIden, Box)> { + pub fn get_values(&self) -> &[(DynIden, Box)] { &self.values } }