refactor: remove unnecessary "to_owned()" call

This method now takes an owned name, so no need to call to_owned()!
pull/24376/head
Dom Dwyer 2023-05-09 11:51:42 +02:00
parent ab666ea5fa
commit 18c6d9e306
No known key found for this signature in database
GPG Key ID: E4C40DBD9157879A
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ impl ColumnsByName {
.into_iter()
.map(|c| {
(
c.name.to_owned(),
c.name,
ColumnSchema {
id: c.id,
column_type: c.column_type,