Skip to content

Commit

Permalink
fixup! feat(coap): Access storage
Browse files Browse the repository at this point in the history
Comment fixes
  • Loading branch information
chrysn committed Oct 30, 2024
1 parent 8d54a50 commit 4d154df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/coap/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ use static_alloc::Bump;
#[global_allocator]
static A: Bump<[u8; 1 << 16]> = Bump::uninit();

/// Represents a concrete key inside the sytem wide storage as a CBOR resource that has a single
/// text value. `T` must practically be both serde for Postcard, and FIXME: through which CBOR
/// handler does that even go? At any rate, `heapless::String<64>` is a suitable type.
/// Represents a concrete key inside the system wide storage as a CBOR resource that has a single
/// text value. `T` must practically be serde both for Postcard, and for `serde_cbor` (FIXME: Go
/// through minicbor).
struct CborStorageAccess<T> {
key: &'static str,
_phantom: core::marker::PhantomData<T>,
Expand Down

0 comments on commit 4d154df

Please sign in to comment.