mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-14 04:24:20 +01:00
fix: clippy
This commit is contained in:
@@ -75,7 +75,7 @@ pub fn translate(
|
||||
return Err(LimboError::ParseError(format!("no such table: {name}")));
|
||||
};
|
||||
|
||||
if schema.tables.get(rename).is_some() {
|
||||
if schema.tables.contains_key(rename) {
|
||||
return Err(LimboError::ParseError(format!(
|
||||
"there is already another table or index with this name: {rename}"
|
||||
)));
|
||||
|
||||
Reference in New Issue
Block a user