mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Fix grammar
parent
e94ad3d90a
commit
3f5c07005f
@ -250,7 +250,7 @@ or null to signal errors or missing results:
|
|||||||
// Lookup returns the value for key or "" if there is no mapping for key.
|
// Lookup returns the value for key or "" if there is no mapping for key.
|
||||||
func Lookup(key string) string
|
func Lookup(key string) string
|
||||||
|
|
||||||
// Failing to check a for an in-band error value can lead to bugs:
|
// Failing to check for an in-band error value can lead to bugs:
|
||||||
Parse(Lookup(key)) // returns "parse failure for value" instead of "no value for key"
|
Parse(Lookup(key)) // returns "parse failure for value" instead of "no value for key"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user