Commit 5910144
committed
url: use Display rather than Error's description in deserialize
Error's description method has been deprecated since 1.42.0. When
deserializing URLs, errors show a Rust-specific programming error
message rather than information about what failed, ie:
"invalid value: string "a string", expected description() is deprecated;
use Display"
This patch uses Display on the returned error.
Signed-off-by: Alejandro Martinez Ruiz <amr@redhat.com>1 parent 494b2fc commit 5910144
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2471 | 2471 | | |
2472 | 2472 | | |
2473 | 2473 | | |
2474 | | - | |
2475 | | - | |
| 2474 | + | |
| 2475 | + | |
| 2476 | + | |
| 2477 | + | |
2476 | 2478 | | |
2477 | 2479 | | |
2478 | 2480 | | |
| |||
0 commit comments