From 8e032b917ac6b54c86dbf6f8fc110d82d3ecbea9 Mon Sep 17 00:00:00 2001 From: An Xiao Date: Mon, 30 Sep 2019 21:46:32 +0000 Subject: [PATCH] net: update quotation marks in comment This change updates the use of quotation marks by replacing `ones' with 'ones'. Quotation like `this' should not be used any more according to https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html Change-Id: I58470cdcc207864fbc8ca68ec0e77329bd81dc19 GitHub-Last-Rev: d03c81ebfba19a98a8dcc99451db60d129b43784 GitHub-Pull-Request: golang/go#33719 Reviewed-on: https://go-review.googlesource.com/c/go/+/190817 Reviewed-by: Andrew Bonventre --- src/net/ip.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/ip.go b/src/net/ip.go index 1a1d0e7dba..7a55486933 100644 --- a/src/net/ip.go +++ b/src/net/ip.go @@ -65,8 +65,8 @@ func IPv4Mask(a, b, c, d byte) IPMask { return p } -// CIDRMask returns an IPMask consisting of `ones' 1 bits -// followed by 0s up to a total length of `bits' bits. +// CIDRMask returns an IPMask consisting of 'ones' 1 bits +// followed by 0s up to a total length of 'bits' bits. // For a mask of this form, CIDRMask is the inverse of IPMask.Size. func CIDRMask(ones, bits int) IPMask { if bits != 8*IPv4len && bits != 8*IPv6len { -- 2.50.0