diff --git a/tests/expected/function-contract/interior-mutability/whole-struct/oncecell.rs b/tests/expected/function-contract/interior-mutability/whole-struct/oncecell.rs index 081de79adecf..6ca32251b60c 100644 --- a/tests/expected/function-contract/interior-mutability/whole-struct/oncecell.rs +++ b/tests/expected/function-contract/interior-mutability/whole-struct/oncecell.rs @@ -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, }