Commit f4ad565
committed
Remove
The `description` method has been soft-deprecated for some time now,
and current nightly (1.41) warns upon its use:
warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
Since our `description` implementation made use of the underlying
error's `description` method, we triggered that warning. Let's fix
that by just getting rid of the implementation containing the
offending code.std::error::Error description method implementations1 parent 1e7ae55 commit f4ad565
1 file changed
+2
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1238 | 1238 | | |
1239 | 1239 | | |
1240 | 1240 | | |
1241 | | - | |
1242 | | - | |
1243 | | - | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
1247 | | - | |
1248 | | - | |
| 1241 | + | |
1249 | 1242 | | |
1250 | 1243 | | |
1251 | 1244 | | |
| |||
1297 | 1290 | | |
1298 | 1291 | | |
1299 | 1292 | | |
1300 | | - | |
1301 | | - | |
1302 | | - | |
1303 | | - | |
1304 | | - | |
1305 | | - | |
1306 | | - | |
1307 | | - | |
| 1293 | + | |
1308 | 1294 | | |
1309 | 1295 | | |
1310 | 1296 | | |
| |||
0 commit comments