Skip to content

Commit

Permalink
Marked internal read-only structs as such.
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanLamansky committed Jul 30, 2022
1 parent c0ef207 commit 2b69476
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion WebAssembly/RegeneratingWeakReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace WebAssembly;

struct RegeneratingWeakReference<T>
readonly struct RegeneratingWeakReference<T>
where T : class
{
private readonly WeakReference<T> reference;
Expand Down
2 changes: 1 addition & 1 deletion WebAssembly/Runtime/Compile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public static InstanceCreator<TExports> FromBinary<TExports>(Stream input, Compi
};
}

private struct Local
private readonly struct Local
{
public Local(Reader reader)
{
Expand Down

0 comments on commit 2b69476

Please sign in to comment.