diff options
Diffstat (limited to 'src/pkg/net/parse.go')
| -rw-r--r-- | src/pkg/net/parse.go | 10 | 
1 files changed, 0 insertions, 10 deletions
| diff --git a/src/pkg/net/parse.go b/src/pkg/net/parse.go index 605f3110b..2bc0db465 100644 --- a/src/pkg/net/parse.go +++ b/src/pkg/net/parse.go @@ -192,16 +192,6 @@ func count(s string, b byte) int {  	return n  } -// Returns the prefix of s up to but not including the character c -func prefixBefore(s string, c byte) string { -	for i, v := range s { -		if v == int(c) { -			return s[0:i] -		} -	} -	return s -} -  // Index of rightmost occurrence of b in s.  func last(s string, b byte) int {  	i := len(s) | 
