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