diff options
| author | Slanterns <slanterns.w@gmail.com> | 2024-06-16 06:31:37 +0800 |
|---|---|---|
| committer | Slanterns <slanterns.w@gmail.com> | 2024-06-16 06:31:37 +0800 |
| commit | 6cce48838b230ed429cb8e69d207993ebff00dd7 (patch) | |
| tree | a68236c10c6e2f5627ec2593070891c262803b6d | |
| parent | 9239d3eb2b08bfdff30c86cdd9ce32687e488f5d (diff) | |
| download | rust-6cce48838b230ed429cb8e69d207993ebff00dd7.tar.gz rust-6cce48838b230ed429cb8e69d207993ebff00dd7.zip | |
update comment
| -rw-r--r-- | library/core/src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/error.rs b/library/core/src/error.rs index 042a8c9925f..150e4f3f318 100644 --- a/library/core/src/error.rs +++ b/library/core/src/error.rs @@ -928,7 +928,7 @@ pub(crate) mod tags { /// An `Option` with a type tag `I`. /// /// Since this struct implements `Erased`, the type can be erased to make a dynamically typed -/// 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 /// checked for the concrete type, there is some degree of type safety. #[repr(transparent)] pub(crate) struct TaggedOption<'a, I: tags::Type<'a>>(pub Option<I::Reified>); |
