aboutsummaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-08-10 19:45:17 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-08-10 19:46:13 +0900
commit0ca6b973e89889f1ce0dbbc05da780cb75776bfe (patch)
tree409b6ffa30f2ab921944f2096eef361ea8953d25 /array.c
parent17d869c7d65534a18885162ea4daa78ade3254d6 (diff)
downloadruby-0ca6b973e89889f1ce0dbbc05da780cb75776bfe.tar.gz
Removed non-ASCII code to suppress warnings by localized compilers
Diffstat (limited to 'array.c')
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.c b/array.c
index ce194d96cf..222bae3302 100644
--- a/array.c
+++ b/array.c
@@ -5809,7 +5809,7 @@ recursive_cmp(VALUE ary1, VALUE ary2, int recur)
/*
* call-seq:
- * array <=> other_array → -1, 0, or 1
+ * array <=> other_array -> -1, 0, or 1
*
* Returns -1, 0, or 1 as +self+ is less than, equal to, or greater than +other_array+.
* For each index +i+ in +self+, evaluates <tt>result = self[i] <=> other_array[i]</tt>.
@@ -6558,7 +6558,7 @@ ary_min_opt_string(VALUE ary, long i, VALUE vmin)
* array.min -> element
* array.min { |a, b| ... } -> element
* array.min(n) -> new_array
- * ary.min(n) { |a, b| ... } → new_array
+ * ary.min(n) { |a, b| ... } -> new_array
*
* Returns one of the following:
* - The minimum-valued element from +self+.