aboutsummaryrefslogtreecommitdiff
path: root/nexgb/bigreq/bigreq.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/bigreq/bigreq.go')
-rw-r--r--nexgb/bigreq/bigreq.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/nexgb/bigreq/bigreq.go b/nexgb/bigreq/bigreq.go
index b0dd1a8..237e6f3 100644
--- a/nexgb/bigreq/bigreq.go
+++ b/nexgb/bigreq/bigreq.go
@@ -71,7 +71,7 @@ type EnableCookie struct {
}
// Enable sends a checked request.
-// If an error occurs, it will be returned with the reply by calling EnableCookie.Reply()
+// If an error occurs, it will be returned with the reply by calling EnableCookie.Reply.
func Enable(c *xgb.Conn) EnableCookie {
c.ExtLock.RLock()
defer c.ExtLock.RUnlock()
@@ -135,8 +135,7 @@ func enableReply(buf []byte) *EnableReply {
return v
}
-// Write request to wire for Enable
-// enableRequest writes a Enable request to a byte slice.
+// enableRequest writes a Enable request to a byte slice for transfer.
func enableRequest(c *xgb.Conn) []byte {
size := 4
b := 0