Skip to content

Commit ae472ee

Browse files
authored
Change function comments to start with a name (#1080)
1 parent 95bb7a1 commit ae472ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

styleparam.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ func primitiveToString(value interface{}) (string, error) {
463463
return output, nil
464464
}
465465

466-
// This function escapes a parameter value bas on the location of that parameter.
466+
// escapeParameterString escapes a parameter value bas on the location of that parameter.
467467
// Query params and path params need different kinds of escaping, while header
468468
// and cookie params seem not to need escaping.
469469
func escapeParameterString(value string, paramLocation ParamLocation) string {

0 commit comments

Comments
 (0)