diff options
author | Ikko Ashimine <[email protected]> | 2020-10-10 15:20:42 +0900 |
---|---|---|
committer | Marc-André Lafortune <[email protected]> | 2020-10-10 02:32:21 -0400 |
commit | df25007046078eef2abc8f98213cb24b8c366a48 (patch) | |
tree | b85f78ee7d219ac2240dc7be743287d8e78811af /ext/bigdecimal/bigdecimal.c | |
parent | 5ea2ea74ccbfb533756595764b0e0de218e909cb (diff) |
Fixed typo in comment
alway -> always
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3646
Diffstat (limited to 'ext/bigdecimal/bigdecimal.c')
-rw-r--r-- | ext/bigdecimal/bigdecimal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index e0e1c683b5..adce9de5a8 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -4181,7 +4181,7 @@ VpAlloc(size_t mx, const char *szVal, int strict_p, int exc) /* at least mx digits. */ /* szVal==NULL ==> allocate zero value. */ vp = VpAllocReal(mx); - /* xmalloc() alway returns(or throw interruption) */ + /* xmalloc() always returns(or throw interruption) */ vp->MaxPrec = mx; /* set max precision */ VpSetZero(vp, 1); /* initialize vp to zero. */ return vp; @@ -4357,7 +4357,7 @@ VpAlloc(size_t mx, const char *szVal, int strict_p, int exc) nalloc = Max(nalloc, mx); mx = nalloc; vp = VpAllocReal(mx); - /* xmalloc() alway returns(or throw interruption) */ + /* xmalloc() always returns(or throw interruption) */ vp->MaxPrec = mx; /* set max precision */ VpSetZero(vp, sign); VpCtoV(vp, psz, ni, psz + ipf, nf, psz + ipe, ne); |