Skip to content

Commit e83e64b

Browse files
authored
feature/dynamodb/expression: Fixup NameBuilder example doc (#1430)
Fixes typo in NameBuilder.NamesList example documentation to use the correct variable name. Related to aws/aws-sdk-go#4104
1 parent cf48bcd commit e83e64b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "9d263ccf-04b8-44d5-a4fa-0b05cdb49223",
3+
"type": "documentation",
4+
"description": "Fixes typo in NameBuilder.NamesList example documentation to use the correct variable name.",
5+
"modules": [
6+
"feature/dynamodb/expression"
7+
]
8+
}

feature/dynamodb/expression/projection.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ type ProjectionBuilder struct {
2323
//
2424
// // Used in another Projection Expression
2525
// anotherProjection := expression.AddNames(projection, expression.Name("baz"))
26+
//
2627
// // Used to make an Builder
27-
// builder := expression.NewBuilder().WithProjection(newProjection)
28+
// builder := expression.NewBuilder().WithProjection(anotherProjection)
2829
//
2930
// Expression Equivalent:
3031
//

0 commit comments

Comments
 (0)