Skip to content

Commit 5ed8989

Browse files
committed
Improve panic message
1 parent f0cfaed commit 5ed8989

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1497,7 +1497,7 @@ impl<'conn> Statement<'conn> {
14971497
let conn = self.conn.conn.borrow();
14981498
check_desync!(conn);
14991499
assert!(conn.trans_depth == trans.depth,
1500-
"`lazy_query` may only be called on the active transaction");
1500+
"`lazy_query` must be passed the active transaction");
15011501
drop(conn);
15021502

15031503
let id = self.next_portal_id.get();

0 commit comments

Comments
 (0)