- Notifications
You must be signed in to change notification settings - Fork516
Commit289cf88

Charles Samuels
add #[track_caller] to the Row::get() functions
This small quality-of-life improvement changes these errors:thread '<unnamed>' panicked at /../.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.10/src/row.rs:151:25:error retrieving column 0: error deserializing column 0: a Postgres value was `NULL`to:thread '<unnamed>' panicked at my-program.rs:100:25:error retrieving column 0: error deserializing column 0: a Postgres value was `NULL`1 parent8989fc9 commit289cf88
1 file changed
+2
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
| 144 | + | |
144 | 145 |
| |
145 | 146 |
| |
146 | 147 |
| |
| |||
239 | 240 |
| |
240 | 241 |
| |
241 | 242 |
| |
| 243 | + | |
242 | 244 |
| |
243 | 245 |
| |
244 | 246 |
| |
|
0 commit comments
Comments
(0)