mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
cleanup warnings
This commit is contained in:
parent
8a2118b8f6
commit
90b1f2f345
2 changed files with 2 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ impl Tls {
|
|||
///
|
||||
/// * A Vec<CertificateDer> containing the TLS chain of trust offered by the host
|
||||
/// * Error if the communication with the host fails
|
||||
pub fn probe(&self, host: &str) -> Result<Vec<CertificateDer>, Error> {
|
||||
pub fn probe(&self, host: &str) -> Result<Vec<CertificateDer<'_>>, Error> {
|
||||
log::info!("starting TLS probe");
|
||||
match host.to_owned().try_into() {
|
||||
Ok(server_name) => {
|
||||
|
|
|
|||
|
|
@ -132,6 +132,7 @@ fn main() -> ! {
|
|||
// Some operating systems and GUI frameworks don't allow creating an event
|
||||
// loop from a thread other than TID 1. Let the backend claim this thread
|
||||
// if this may be the case.
|
||||
#[allow(unreachable_code)]
|
||||
backend::claim_main_thread(move |main_thread_token| {
|
||||
#[cfg(not(feature = "ditherpunk"))]
|
||||
wrapped_main(main_thread_token);
|
||||
|
|
|
|||
Loading…
Reference in a new issue