Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
geseq committed Jul 20, 2022
1 parent e302d64 commit 9515d2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ type Object interface {
CanCall() bool
}

// PtrObjectImpl represents a default Object Implementation. To defined a new
// value type, one can embed PtrObjectImpl in their type declarations to avoid
// ObjectImpl represents a default Object Implementation. To defined a new
// value type, one can embed ObjectImpl in their type declarations to avoid
// implementing all non-significant methods. TypeName() and String() methods
// still need to be implemented.
type ObjectImpl struct {
Expand Down Expand Up @@ -148,7 +148,7 @@ func (o ObjectImpl) CanCall() bool {
return false
}

// PtrObjectImpl represents a default Object Implementation. To defined a new
// PtrObjectImpl represents a default Object Implementation. To defined a new
// value type, one can embed PtrObjectImpl in their type declarations to avoid
// implementing all non-significant methods. TypeName() and String() methods
// still need to be implemented.
Expand Down

0 comments on commit 9515d2f

Please sign in to comment.