- Notifications
You must be signed in to change notification settings - Fork516
Commit2b1949d
committed
impl Debug for Statement
The lack of this common trait bound caused some unpleasantness.For example, the following didn't compile:let x = OnceLock::new();let stmt = db.prepare(...)?;x.set(stmt).expect(...); // returns Result<(), T=Statement> where T: Debug1 parent98f5a11 commit2b1949d
1 file changed
+10
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
64 | 74 |
| |
65 | 75 |
| |
66 | 76 |
| |
|
0 commit comments
Comments
(0)