Add some comments.
Also use `Default::default()` in one `TypedArena::default()`, for consistency with `DroplessArena::default()`.
This commit is contained in:
parent
552073701f
commit
0a89598dbd
3 changed files with 14 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
/// This declares a list of types which can be allocated by `Arena`.
|
||||
/// This higher-order macro declares a list of types which can be allocated by `Arena`.
|
||||
///
|
||||
/// Specifying the `decode` modifier will add decode impls for `&T` and `&[T]` where `T` is the type
|
||||
/// listed. These impls will appear in the implement_ty_decoder! macro.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue