Skip to content

Commit 5945fb6

Browse files
authored
Minor grammatical fixes on warning message (#13654)
1 parent 1e6f2d4 commit 5945fb6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/elixir/lib/module/types/of.ex

+2-2
Original file line numberDiff line numberDiff line change
@@ -678,8 +678,8 @@ defmodule Module.Types.Of do
678678
679679
Comparison operators (>, <, >=, <=, min, and max) perform structural \
680680
and not semantic comparison. Comparing with a struct won't give meaningful \
681-
results. Struct that can be compared typically define a compare/2 function \
682-
within their modules that can be used for semantic comparison
681+
results. Structs that can be compared typically define a compare/2 function \
682+
within their modules that can be used for semantic comparison.
683683
"""
684684
])
685685
}

lib/elixir/test/elixir/module/types/expr_test.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ defmodule Module.Types.ExprTest do
382382
# from: types_test.ex:LINE-2
383383
y = %Point{}
384384
385-
Comparison operators (>, <, >=, <=, min, and max) perform structural and not semantic comparison. Comparing with a struct won't give meaningful results. Struct that can be compared typically define a compare/2 function within their modules that can be used for semantic comparison
385+
Comparison operators (>, <, >=, <=, min, and max) perform structural and not semantic comparison. Comparing with a struct won't give meaningful results. Structs that can be compared typically define a compare/2 function within their modules that can be used for semantic comparison.
386386
"""}
387387
end
388388
end

0 commit comments

Comments
 (0)