We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3c1757 commit 2388743Copy full SHA for 2388743
core/src/error.rs
@@ -928,7 +928,7 @@ pub(crate) mod tags {
928
/// An `Option` with a type tag `I`.
929
///
930
/// Since this struct implements `Erased`, the type can be erased to make a dynamically typed
931
-/// option. The type can be checked dynamically using `Erased::tag_id` and since this is statically
+/// option. The type can be checked dynamically using `Tagged::tag_id` and since this is statically
932
/// checked for the concrete type, there is some degree of type safety.
933
#[repr(transparent)]
934
pub(crate) struct TaggedOption<'a, I: tags::Type<'a>>(pub Option<I::Reified>);
0 commit comments