aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgbgen/field.go
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2013-01-26 12:51:48 -0500
committerPřemysl Janouch <p@janouch.name>2018-09-08 16:49:16 +0200
commit3658686aeea7acc61621782c7c1e6dad66517479 (patch)
tree84f7783325e817969649d5423960a6b4f123a978 /nexgb/xgbgen/field.go
parente635de5e1d64d5d642c05ad24ebb207846022272 (diff)
downloadhaven-3658686aeea7acc61621782c7c1e6dad66517479.tar.gz
haven-3658686aeea7acc61621782c7c1e6dad66517479.tar.xz
haven-3658686aeea7acc61621782c7c1e6dad66517479.zip
gofmt
Diffstat (limited to 'nexgb/xgbgen/field.go')
-rw-r--r--nexgb/xgbgen/field.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/nexgb/xgbgen/field.go b/nexgb/xgbgen/field.go
index 78475f8..16760d4 100644
--- a/nexgb/xgbgen/field.go
+++ b/nexgb/xgbgen/field.go
@@ -138,7 +138,7 @@ func (f *ListField) Length() Size {
// Size computes the *size* of a list (in bytes).
// It it typically a simple matter of multiplying the length of the list by
// the size of the type of the list.
-// But if it's a list of struct where the struct has a list field, we use a
+// But if it's a list of struct where the struct has a list field, we use a
// special function written in go_struct.go to compute the size (since the
// size in this case can only be computed recursively).
func (f *ListField) Size() Size {