Skip to content

Commit 5920b69

Browse files
committed
Fix typo
Closes #2100
1 parent a4a45fb commit 5920b69

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
@@ -803,7 +803,7 @@ var expected = new
803803
Expect(expected).WhenSerializing((ICreateIndexRequest)descriptor);
804804
----
805805

806-
Now lets specify a maxRecursion of 3
806+
Now let's specify a maxRecursion of 3
807807

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

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

930930
[source,csharp]

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

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

774774
Expect(expected).WhenSerializing((ICreateIndexRequest)descriptor);
775775

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

0 commit comments

Comments
 (0)