summaryrefslogtreecommitdiff
path: root/mfbt/tests/TestSegmentedVector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mfbt/tests/TestSegmentedVector.cpp')
-rw-r--r--mfbt/tests/TestSegmentedVector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mfbt/tests/TestSegmentedVector.cpp b/mfbt/tests/TestSegmentedVector.cpp
index 31f9f47432..0e45c64bcf 100644
--- a/mfbt/tests/TestSegmentedVector.cpp
+++ b/mfbt/tests/TestSegmentedVector.cpp
@@ -34,7 +34,7 @@ public:
};
// We want to test Append(), which is fallible and marked with
-// MOZ_MUST_USE. But we're using an infallible alloc policy, and so
+// [[nodiscard]]. But we're using an infallible alloc policy, and so
// don't really need to check the result. Casting to |void| works with clang
// but not GCC, so we instead use this dummy variable which works with both
// compilers.