diff --git a/firmware/src/json/reader.rs b/firmware/src/json/reader.rs index df8d329..6714ac6 100644 --- a/firmware/src/json/reader.rs +++ b/firmware/src/json/reader.rs @@ -425,7 +425,7 @@ impl FromJson for Value { /// next element. pub trait FromJsonArray: Sized + Default { /// Additional context information passed to deserialization - type Context; + type Context: ?Sized; /// Read next array element from given JSON reader async fn read_next( @@ -454,7 +454,7 @@ impl FromJsonArray for Vec { /// next value. pub trait FromJsonObject: Sized + Default { /// Additional context information passed to deserialization - type Context; + type Context: ?Sized; /// Read next object value from given JSON reader async fn read_next(