Skip to content

Commit

Permalink
Update tests/expected/function-contract/interior-mutability/whole-str…
Browse files Browse the repository at this point in the history
…uct/oncecell.rs
  • Loading branch information
feliperodri authored Jul 30, 2024
1 parent 60b0d8a commit dbf938f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/// The objective of this test is to check the modification of an OnceCell used as interior mutability in an immutable struct
use std::cell::OnceCell;

/// This struct is contains OnceCell which can be mutated
/// This struct contains OnceCell which can be mutated
struct InteriorMutability {
x: OnceCell<u32>,
}
Expand Down

0 comments on commit dbf938f

Please sign in to comment.