generate_pattern_iterators! {
forward:
- /// Created with the method `.split()`.
+ #[doc="Created with the method `.split()`."]
struct Split;
reverse:
- /// Created with the method `.rsplit()`.
+ #[doc="Created with the method `.rsplit()`."]
struct RSplit;
stability:
#[stable(feature = "rust1", since = "1.0.0")]
generate_pattern_iterators! {
forward:
- /// Created with the method `.split_terminator()`.
+ #[doc="Created with the method `.split_terminator()`."]
struct SplitTerminator;
reverse:
- /// Created with the method `.rsplit_terminator()`.
+ #[doc="Created with the method `.rsplit_terminator()`."]
struct RSplitTerminator;
stability:
#[stable(feature = "rust1", since = "1.0.0")]
generate_pattern_iterators! {
forward:
- /// Created with the method `.splitn()`.
+ #[doc="Created with the method `.splitn()`."]
struct SplitN;
reverse:
- /// Created with the method `.rsplitn()`.
+ #[doc="Created with the method `.rsplitn()`."]
struct RSplitN;
stability:
#[stable(feature = "rust1", since = "1.0.0")]
generate_pattern_iterators! {
forward:
- /// Created with the method `.match_indices()`.
+ #[doc="Created with the method `.match_indices()`."]
struct MatchIndices;
reverse:
- /// Created with the method `.rmatch_indices()`.
+ #[doc="Created with the method `.rmatch_indices()`."]
struct RMatchIndices;
stability:
#[unstable(feature = "core",
generate_pattern_iterators! {
forward:
- /// Created with the method `.matches()`.
+ #[doc="Created with the method `.matches()`."]
struct Matches;
reverse:
- /// Created with the method `.rmatches()`.
+ #[doc="Created with the method `.rmatches()`."]
struct RMatches;
stability:
#[unstable(feature = "core", reason = "type got recently added")]