Silence function not used warning

This commit is contained in:
Pekka Enberg 2023-09-10 12:43:08 +03:00
parent 031071d80e
commit 25ab9afd65

View file

@ -96,6 +96,7 @@ impl Table {
}
}
#[allow(dead_code)] // used in tests
pub fn to_sql(&self) -> String {
let mut sql = format!("CREATE TABLE {} (\n", self.name);
for (i, column) in self.columns.iter().enumerate() {