Skip to content

Commit 3d528a7

Browse files
authored
Merge pull request #450 from pohzipohzi/master
fix args documentation typo
2 parents 352e5a3 + b3a4036 commit 3d528a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

query_control.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ func Error(args ...interface{}) Term {
223223
return constructRootTerm("Error", p.Term_ERROR, args, map[string]interface{}{})
224224
}
225225

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

0 commit comments

Comments
 (0)