Let Error implement defmt::Format
This commit is contained in:
parent
38e5657fe1
commit
6935ed0836
|
@ -1,4 +1,5 @@
|
||||||
#[derive(Debug, PartialEq, Eq)]
|
#[derive(Debug, PartialEq, Eq)]
|
||||||
|
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
/// The url did not start with <scheme>://
|
/// The url did not start with <scheme>://
|
||||||
NoScheme,
|
NoScheme,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#![no_std]
|
#![no_std]
|
||||||
mod error;
|
|
||||||
#[cfg(feature = "defmt")]
|
#[cfg(feature = "defmt")]
|
||||||
mod defmt_impl;
|
mod defmt_impl;
|
||||||
|
mod error;
|
||||||
|
|
||||||
pub use error::Error;
|
pub use error::Error;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user