aboutsummaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
authorGravatar xuecai <bluesnow1st@sina.com> 2019-02-04 03:16:39 +0800
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2019-02-03 19:16:39 +0000
commit627d63dd25bce25772a610342afd632238463c33 (patch)
tree22cbf9f70eb9310f7d07e7d829789bbe317396be /args.go
parentMake InmemoryListener.Dial return when the connection is accepted (diff)
downloadfasthttp-627d63dd25bce25772a610342afd632238463c33.tar.gz
fasthttp-627d63dd25bce25772a610342afd632238463c33.tar.bz2
fasthttp-627d63dd25bce25772a610342afd632238463c33.zip
change timer to public api #525 (#527)
* change acquireTimer and releaseTimer to public api
Diffstat (limited to 'args.go')
-rw-r--r--args.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/args.go b/args.go
index c8a1c61..e5865cd 100644
--- a/args.go
+++ b/args.go
@@ -23,7 +23,7 @@ func AcquireArgs() *Args {
return argsPool.Get().(*Args)
}
-// ReleaseArgs returns the object acquired via AquireArgs to the pool.
+// ReleaseArgs returns the object acquired via AcquireArgs to the pool.
//
// Do not access the released Args object, otherwise data races may occur.
func ReleaseArgs(a *Args) {