use crate::{_TAG_ITERATOR, _TAG_NICHE, _TAG_RESULT, _reexport};
_reexport! { rust: core::option, location: "code/result", tag: _TAG_NICHE!(),
doc: "A type that represents an optional value.",
Option
}
_reexport! { rust: core::option, location: "code/result", tag: _TAG_ITERATOR!(),
doc: "An iterator over the value in [`Some`] variant of an [`Option`].",
@IntoIter as OptionIntoIter
}
_reexport! { rust: core::option, location: "code/result", tag: _TAG_ITERATOR!(),
doc: "An iterator over a reference to the [`Some`] variant of an [`Option`].",
@Iter as OptionIter
}
_reexport! { rust: core::option, location: "code/result", tag: _TAG_ITERATOR!(),
doc: "An iterator over a mutable reference to the [`Some`] variant of an [`Option`].",
@IterMut as OptionIterMut
}
_reexport! { rust: core::result, location: "code/result", tag: _TAG_RESULT!(),
doc: "A type that represents either success ([`Ok`]) or failure ([`Err`]).",
Result
}
_reexport! { rust: core::result, location: "code/result", tag: _TAG_ITERATOR!(),
doc: "An iterator over the value in [`Ok`] variant of a [`Result`].",
@IntoIter as ResultIntoIter
}
_reexport! { rust: core::result, location: "code/result", tag: _TAG_ITERATOR!(),
doc: "An iterator over a reference to the [`Ok`] variant of a [`Result`].",
@Iter as ResultIter
}
_reexport! { rust: core::result, location: "code/result", tag: _TAG_ITERATOR!(),
doc: "An iterator over a mutable reference to the [`Ok`] variant of a [`Result`].",
@IterMut as ResultIterMut
}