Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemitenkov committed Jan 6, 2025
1 parent 82b0b20 commit ad7e871
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub struct RuntimeEnvironment {
struct_name_index_map: Arc<StructNameIndexMap>,

/// Caches struct tags for instantiated types. This cache can be used concurrently and
/// speculatively.
/// speculatively because type tag information does not change with module publishes.
ty_tag_cache: Arc<TypeTagCache>,

/// Type cache for struct layouts, tags and depths, shared across multiple threads.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ impl<'a> TypeTagBuilder<'a> {

/// Converts the struct type (based on its indexed name and type arguments) into a struct tag.
/// If the tag has not been previously cached, it will be cached. Just like for types, if the
/// type arguments are to complex, etc. the tag construction fails.
/// type arguments are too complex, etc. the tag construction fails.
pub(crate) fn struct_ty_to_struct_tag(
&self,
struct_name_idx: &StructNameIndex,
Expand Down

0 comments on commit ad7e871

Please sign in to comment.