|
From: | Michal Podhradsky |
Subject: | Re: [Paparazzi-devel] paparazzi secure datalink compile errors. |
Date: | Wed, 13 Jan 2021 13:00:51 -0800 |
After reading a little about rust i think the warnings are fixed if we
replace
Err(why) => panic!("couldn't write to {}: {}", display, why.description()),
with
Err(why) => panic!("couldn't create {}: {}", display, why.to_string()),
and comment out line 33 "use std::error::Error;"
I haven't tried it yet but the description method will be hard
deprecated and must be replaced in order "why" to return a string.
Chris
_______________________________________________
Paparazzi-devel mailing list
Paparazzi-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |