Skip to content

Commit dd069d2

Browse files
committed
Fix typo
Closes #2100
1 parent bd33169 commit dd069d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/client-concepts/high-level/mapping/auto-map.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ var expected = new
891891
Expect(expected).WhenSerializing((ICreateIndexRequest)descriptor);
892892
----
893893

894-
Now lets specify a maxRecursion of 3
894+
Now let's specify a maxRecursion of 3
895895

896896
[source,csharp]
897897
----
@@ -1012,7 +1012,7 @@ It is also possible to apply a transformation on all or specific properties.
10121012
`.AutoMap()` internally implements the https://en.wikipedia.org/wiki/Visitor_pattern[visitor pattern]. The default visitor, `NoopPropertyVisitor`,
10131013
does nothing and acts as a blank canvas for you to implement your own visiting methods.
10141014

1015-
For instance, lets create a custom visitor that disables doc values for numeric and boolean types
1015+
For instance, let's create a custom visitor that disables doc values for numeric and boolean types
10161016
(Not really a good idea in practice, but let's do it anyway for the sake of a clear example.)
10171017

10181018
[source,csharp]

src/Tests/ClientConcepts/HighLevel/Mapping/AutoMap.doc.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ public void ControllingRecursionDepth()
860860

861861
Expect(expected).WhenSerializing((ICreateIndexRequest)descriptor);
862862

863-
/** Now lets specify a maxRecursion of 3 */
863+
/** Now let's specify a maxRecursion of 3 */
864864
var withMaxRecursionDescriptor = new CreateIndexDescriptor("myindex")
865865
.Mappings(ms => ms
866866
.Map<A>(m => m.AutoMap(3))
@@ -975,7 +975,7 @@ public void PutMappingAlsoAdheresToMaxRecursion()
975975
* `.AutoMap()` internally implements the https://en.wikipedia.org/wiki/Visitor_pattern[visitor pattern]. The default visitor, `NoopPropertyVisitor`,
976976
* does nothing and acts as a blank canvas for you to implement your own visiting methods.
977977
*
978-
* For instance, lets create a custom visitor that disables doc values for numeric and boolean types
978+
* For instance, let's create a custom visitor that disables doc values for numeric and boolean types
979979
* (Not really a good idea in practice, but let's do it anyway for the sake of a clear example.)
980980
*/
981981
public class DisableDocValuesPropertyVisitor : NoopPropertyVisitor

0 commit comments

Comments
 (0)