Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2388743

Browse files
committedJun 15, 2024
update comment
1 parent c3c1757 commit 2388743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ pub(crate) mod tags {
928928
/// An `Option` with a type tag `I`.
929929
///
930930
/// 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
931+
/// option. The type can be checked dynamically using `Tagged::tag_id` and since this is statically
932932
/// checked for the concrete type, there is some degree of type safety.
933933
#[repr(transparent)]
934934
pub(crate) struct TaggedOption<'a, I: tags::Type<'a>>(pub Option<I::Reified>);

0 commit comments

Comments
 (0)
Failed to load comments.