Make build work (#546)

The mbedtls example has caused problem in the main build a number of
times. By making it a standalone `cargo new --bin`, we can keep it in
the source tree as a good example but avoid having it break the main
build.

Also, fix some clippy lints.
This commit is contained in:
Martin Algesten
2022-09-29 17:29:32 +02:00
committed by GitHub
parent a367a82317
commit b0796c18f3
12 changed files with 27 additions and 11 deletions

View File

@@ -328,7 +328,7 @@ impl Error {
}
/// One of the types of error the can occur when processing a Request.
#[derive(Debug, PartialEq, Clone, Copy)]
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
pub enum ErrorKind {
/// The url could not be understood.
InvalidUrl,