ruby-changes:60847
From: Kazuhiro <ko1@a...>
Date: Tue, 21 Apr 2020 12:39:17 +0900 (JST)
Subject: [ruby-changes:60847] 4b86194177 (master): Fix typos [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=4b86194177 From 4b86194177c65babb28236d2a14994d3f5d3f1bf Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Tue, 21 Apr 2020 12:38:36 +0900 Subject: Fix typos [ci skip] diff --git a/include/ruby/3/arithmetic/long.h b/include/ruby/3/arithmetic/long.h index 46ff76d..3263c61 100644 --- a/include/ruby/3/arithmetic/long.h +++ b/include/ruby/3/arithmetic/long.h @@ -136,7 +136,7 @@ ruby3_fix2long_by_shift(VALUE x) https://github.com/ruby/ruby/blob/trunk/include/ruby/3/arithmetic/long.h#L136 RUBY3_ASSERT_OR_ASSUME(RB_FIXNUM_P(x)); /* :NOTE: VALUE can be wider than long. If right shift is arithmetic, this - * is noticably faster than above. */ + * is noticeably faster than above. */ const SIGNED_VALUE y = x; const SIGNED_VALUE z = y >> 1; const long w = RUBY3_CAST((long)z); diff --git a/include/ruby/3/assume.h b/include/ruby/3/assume.h index 9664f56..98059d7 100644 --- a/include/ruby/3/assume.h +++ b/include/ruby/3/assume.h @@ -59,7 +59,7 @@ https://github.com/ruby/ruby/blob/trunk/include/ruby/3/assume.h#L59 # define RUBY3_UNREACHABLE() __assume(0) #endif -/** Wraps (or simulates) `__asume`. */ +/** Wraps (or simulates) `__assume`. */ #if RUBY3_COMPILER_SINCE(Intel, 13, 0, 0) # /* icc warnings are false positives. Ignore them. */ # /* "warning #2261: __assume expression with side effects discarded" */ diff --git a/include/ruby/3/scan_args.h b/include/ruby/3/scan_args.h index bc4fadd..b1a29f7 100644 --- a/include/ruby/3/scan_args.h +++ b/include/ruby/3/scan_args.h @@ -112,7 +112,7 @@ RUBY3_SYMBOL_EXPORT_END() https://github.com/ruby/ruby/blob/trunk/include/ruby/3/scan_args.h#L112 # * Static assertions need such integer constant expressions as defined in # * ISO/IEC 9899:2018 section 6.7.10 paragraph #3. # * -# * GCC nontheless constant-folds this into no-op, though. */ +# * GCC nonetheless constant-folds this into no-op, though. */ # define rb_scan_args_verify(fmt, varc) \ (sizeof(char[1-2*(rb_scan_args_count(fmt)<0)])!=1 ? \ rb_scan_args_bad_format(fmt) : \ -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/