summaryrefslogtreecommitdiff
path: root/include/ruby/internal/attr
diff options
context:
space:
mode:
authorspaette <lindblad@gmx.us>2022-08-27 16:09:55 -0500
committerTakashi Kokubun <takashikkbn@gmail.com>2022-08-27 14:42:55 -0700
commita797ded8e2637de91dd4dd5b54bed515f6cda08a (patch)
treeb1fe90d7eb98d742ee9860bb234f9771c52f21c5 /include/ruby/internal/attr
parent95d2d7920c97d0502ebed4ba439177325ad05e57 (diff)
typos
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6290
Diffstat (limited to 'include/ruby/internal/attr')
-rw-r--r--include/ruby/internal/attr/nodiscard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/attr/nodiscard.h b/include/ruby/internal/attr/nodiscard.h
index 087192a7a8..c3ae118942 100644
--- a/include/ruby/internal/attr/nodiscard.h
+++ b/include/ruby/internal/attr/nodiscard.h
@@ -26,7 +26,7 @@
/**
* Wraps (or simulates) `[[nodiscard]]`. In C++ (at least since C++20) a
- * nodiscard attribute can have a message why the result shall not be ignoed.
+ * nodiscard attribute can have a message why the result shall not be ignored.
* However GCC attribute and SAL annotation cannot take them.
*/
#if RBIMPL_HAS_CPP_ATTRIBUTE(nodiscard)