1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
This commit is contained in:
spaette 2022-08-27 16:09:55 -05:00 committed by Takashi Kokubun
parent 95d2d7920c
commit a797ded8e2
Notes: git 2022-08-28 06:43:22 +09:00
4 changed files with 5 additions and 4 deletions

View file

@ -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)