Skip to content

Commit ffc49ae

Browse files
[autofix.ci] apply automated fixes
1 parent 60fc3f9 commit ffc49ae

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/pages/storey/container-impl/my-map.mdx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@ assert_eq!(access.entry(2).get().unwrap(), Some(200));
205205

206206
# Iteration
207207

208-
While we have a functional collection by now, we can't perform iteration yet. Instead of trying to implement iteration on our own, there are benefits to using abstractions `storey` provides. This means implementing `IterableStorable` for `MyMap`.
208+
While we have a functional collection by now, we can't perform iteration yet. Instead of trying to
209+
implement iteration on our own, there are benefits to using abstractions `storey` provides. This
210+
means implementing `IterableStorable` for `MyMap`.
209211

210212
```rust template="storey-container-impl"
211213
impl<V> IterableStorable for MyMap<V>
@@ -246,12 +248,11 @@ Alright. Let's dive into the trait items!
246248
| `Value` | The value type to be returned by iterators. Here it's delegated to the inner container. |
247249
| `ValueDecodeError` | The error type for invalid value data. Delegated to the inner container. |
248250

249-
| Method | Function |
250-
|----------------|-----------------------------------------------------------------------------|
251-
| `decode_key` | This is how the framework knows how to decode keys given raw bytes. |
251+
| Method | Function |
252+
| -------------- | ------------------------------------------------------------------------------------------------------------------------ |
253+
| `decode_key` | This is how the framework knows how to decode keys given raw bytes. |
252254
| `decode_value` | This is how the framework knows how to decode values given raw bytes. In this case, we delegate to the inner collection. |
253255

254-
255256
[`Item`]: /storey/containers/item
256257
[`Map`]: /storey/containers/map
257258
[`Storable`]: https://docs.rs/storey/latest/storey/containers/trait.Storable.html

0 commit comments

Comments
 (0)