mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-26 09:50:40 +00:00
build: specify clippy denies in cargo config (#1351)
* build: specify clippy denies in cargo config Signed-off-by: Ruihang Xia <waynestxia@gmail.com> * deny implicit clone Signed-off-by: Ruihang Xia <waynestxia@gmail.com> --------- Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
@@ -573,7 +573,7 @@ pub(crate) fn create_alter_operation(
|
||||
create_add_columns_operation(table_name, columns, table_meta)
|
||||
}
|
||||
AlterKind::DropColumns { names } => Ok(Some(AlterOperation::DropColumns {
|
||||
names: names.to_vec(),
|
||||
names: names.clone(),
|
||||
})),
|
||||
// No need to build alter operation when reaming tables.
|
||||
AlterKind::RenameTable { .. } => Ok(None),
|
||||
|
||||
Reference in New Issue
Block a user