mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 17:14:20 +01:00
syntactic changes: use assert_eq!() instead of assert!() for equality comparisons
This commit is contained in:
@@ -83,7 +83,7 @@ impl ProgramBuilder {
|
||||
let cursor = self.next_free_cursor_id;
|
||||
self.next_free_cursor_id += 1;
|
||||
self.cursor_ref.push((table_identifier, cursor_type));
|
||||
assert!(self.cursor_ref.len() == self.next_free_cursor_id);
|
||||
assert_eq!(self.cursor_ref.len(), self.next_free_cursor_id);
|
||||
cursor
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user