Expand description
Structures and functions for handling syn::punctuated::Punctuated
collections.
This module provides functionality to manipulate and ensure correct punctuation in syn::punctuated::Punctuated
collections, commonly used in procedural macros to represent sequences of elements separated by punctuation marks, such as commas.
Re-exports§
pub use super::super::punctuated;
Modules§
- exposed
- Exposed namespace of the module.
- orphan
- Orphan namespace of the module.
- own
- Own namespace of the module.
- prelude
- Prelude to use essentials:
use my_module::prelude::*
.
Functions§
- ensure_
trailing_ comma - Ensures that a
syn::punctuated::Punctuated
collection ends with a comma if it contains elements.