Skip to content

Commit

Permalink
Merge pull request #450 from pohzipohzi/master
Browse files Browse the repository at this point in the history
fix args documentation typo
  • Loading branch information
CMogilko committed Sep 17, 2018
2 parents 352e5a3 + b3a4036 commit 3d528a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions query_control.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ func Error(args ...interface{}) Term {
return constructRootTerm("Error", p.Term_ERROR, args, map[string]interface{}{})
}

// Args is a special term usd to splice an array of arguments into another term.
// This is useful when you want to call a varadic term such as GetAll with a set
// Args is a special term used to splice an array of arguments into another term.
// This is useful when you want to call a variadic term such as GetAll with a set
// of arguments provided at runtime.
func Args(args ...interface{}) Term {
return constructRootTerm("Args", p.Term_ARGS, args, map[string]interface{}{})
Expand Down

0 comments on commit 3d528a7

Please sign in to comment.