Merge pull request #153 from klihub/fixes/UserOnCloseWait-comment

Fix grammar in comment for UserOnCloseWait.
This commit is contained in:
Fu Wei 2023-08-08 06:12:19 +08:00 committed by GitHub
commit b2f0adabbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -286,7 +286,7 @@ func (c *Client) Close() error {
return nil
}
// UserOnCloseWait is used to blocks untils the user's on-close callback
// UserOnCloseWait is used to block until the user's on-close callback
// finishes.
func (c *Client) UserOnCloseWait(ctx context.Context) error {
select {