From 4cafe0a558a6552db2c657f37b2fe33876efaab2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Zi=C4=99ba?= Date: Mon, 12 Apr 2021 22:51:05 +0200 Subject: [PATCH] Fix typo in Ecto.Query.API documentation (#3612) --- lib/ecto/query/api.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ecto/query/api.ex b/lib/ecto/query/api.ex index 0041689601..68c90fc236 100644 --- a/lib/ecto/query/api.ex +++ b/lib/ecto/query/api.ex @@ -159,7 +159,7 @@ defmodule Ecto.Query.API do A product matches in the above example if a line item was created since the provided date where the customer purchased at least 10 units. - Both `any` and `all` must be given a subquery as an argument, and theyu must be used on the right hand side of a comparison. + Both `any` and `all` must be given a subquery as an argument, and they must be used on the right hand side of a comparison. Both can be used with every comparison operator: `==`, `!=`, `>`, `>=`, `<`, `<=`. """ def any(subquery), do: doc! [subquery] @@ -179,7 +179,7 @@ defmodule Ecto.Query.API do The above example matches all the posts which are tied for being the most visited. - Both `any` and `all` must be given a subquery as an argument, and theyu must be used on the right hand side of a comparison. + Both `any` and `all` must be given a subquery as an argument, and they must be used on the right hand side of a comparison. Both can be used with every comparison operator: `==`, `!=`, `>`, `>=`, `<`, `<=`. """ def all(subquery), do: doc! [subquery]