From 4e7a8bc7528514db3593d4e48841b3b665f6d024 Mon Sep 17 00:00:00 2001 From: Eksperimental Date: Sat, 20 Oct 2018 15:09:03 +0700 Subject: [PATCH] General documentation improvements (#8302) --- lib/elixir/lib/kernel.ex | 4 ++-- lib/elixir/lib/process.ex | 2 +- lib/ex_unit/test/ex_unit_test.exs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/elixir/lib/kernel.ex b/lib/elixir/lib/kernel.ex index fa9077a8f1..70e00b475c 100644 --- a/lib/elixir/lib/kernel.ex +++ b/lib/elixir/lib/kernel.ex @@ -1920,8 +1920,8 @@ defmodule Kernel do end @doc """ - Matches the term on the left against the regular expression or string on the - right. + Matches the term on the `left` against the regular expression or string on the + `right`. Returns `true` if `left` matches `right` (if it's a regular expression) or contains `right` (if it's a string). diff --git a/lib/elixir/lib/process.ex b/lib/elixir/lib/process.ex index 241dae5d46..6b5475ed8c 100644 --- a/lib/elixir/lib/process.ex +++ b/lib/elixir/lib/process.ex @@ -103,7 +103,7 @@ defmodule Process do Stores the given `key`-`value` pair in the process dictionary. The return value of this function is the value that was previously stored - under `key`, or `nil` in case no value was stored under `key`. + under `key`, or `nil` in case no value was stored under it. ## Examples diff --git a/lib/ex_unit/test/ex_unit_test.exs b/lib/ex_unit/test/ex_unit_test.exs index 035484c88f..b0ea3a2741 100644 --- a/lib/ex_unit/test/ex_unit_test.exs +++ b/lib/ex_unit/test/ex_unit_test.exs @@ -136,7 +136,7 @@ defmodule ExUnitTest do assert config[:max_cases] == 1 end - test "filters to the given test ids when an `only_test_ids` option is provided" do + test "filters to the given test IDs when the `only_test_ids` option is provided" do defmodule TestIdTestModule do use ExUnit.Case