mirror of https://github.com/grpc/grpc-go.git
				
				
				
			fix a comment
This commit is contained in:
		
							parent
							
								
									ffb2384582
								
							
						
					
					
						commit
						7efb0d7d75
					
				| 
						 | 
					@ -189,7 +189,6 @@ func Code(err error) codes.Code {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Errorf returns an error containing an error code and a description;
 | 
					// Errorf returns an error containing an error code and a description;
 | 
				
			||||||
// CodeOf extracts the Code.
 | 
					 | 
				
			||||||
// Errorf returns nil if c is OK.
 | 
					// Errorf returns nil if c is OK.
 | 
				
			||||||
func Errorf(c codes.Code, format string, a ...interface{}) error {
 | 
					func Errorf(c codes.Code, format string, a ...interface{}) error {
 | 
				
			||||||
	if c == codes.OK {
 | 
						if c == codes.OK {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue