mirror of
				https://github.com/golang/go.git
				synced 2025-11-04 10:40:57 +00:00 
			
		
		
		
	math/big: fix typo of comment (BytesScanner to ByteScanner)
				
					
				
			Change-Id: I0c2d26d6ede1452008992efbea7392162da65014 Reviewed-on: https://go-review.googlesource.com/c/go/+/331651 Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
		
							parent
							
								
									fd4b587da3
								
							
						
					
					
						commit
						3463852b76
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -425,7 +425,7 @@ func (z *Int) SetString(s string, base int) (*Int, bool) {
 | 
				
			||||||
	return z.setFromScanner(strings.NewReader(s), base)
 | 
						return z.setFromScanner(strings.NewReader(s), base)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// setFromScanner implements SetString given an io.BytesScanner.
 | 
					// setFromScanner implements SetString given an io.ByteScanner.
 | 
				
			||||||
// For documentation see comments of SetString.
 | 
					// For documentation see comments of SetString.
 | 
				
			||||||
func (z *Int) setFromScanner(r io.ByteScanner, base int) (*Int, bool) {
 | 
					func (z *Int) setFromScanner(r io.ByteScanner, base int) (*Int, bool) {
 | 
				
			||||||
	if _, _, err := z.scan(r, base); err != nil {
 | 
						if _, _, err := z.scan(r, base); err != nil {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue