Skip to content

Commit

Permalink
fix typo (#2986)
Browse files Browse the repository at this point in the history
* fix typo

* spell fix
  • Loading branch information
Petrie authored Jul 2, 2022
1 parent 36b37c4 commit c2dc940
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions baggage/baggage.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (p Property) Key() string {
return p.key
}

// Value returns the Property value. Additionally a boolean value is returned
// Value returns the Property value. Additionally, a boolean value is returned
// indicating if the returned value is the empty if the Property has a value
// that is empty or if the value is not set.
func (p Property) Value() (string, bool) {
Expand Down Expand Up @@ -392,7 +392,7 @@ func New(members ...Member) (Baggage, error) {
}
}

// Check member numbers after deduplicating.
// Check member numbers after deduplication.
if len(b) > maxMembers {
return Baggage{}, errMemberNumber
}
Expand Down Expand Up @@ -454,7 +454,7 @@ func Parse(bStr string) (Baggage, error) {
func (b Baggage) Member(key string) Member {
v, ok := b.list[key]
if !ok {
// We do not need to worry about distiguising between the situation
// We do not need to worry about distinguishing between the situation
// where a zero-valued Member is included in the Baggage because a
// zero-valued Member is invalid according to the W3C Baggage
// specification (it has an empty key).
Expand Down

0 comments on commit c2dc940

Please sign in to comment.