code: func leadingWhitespaceLen(in string) (n int) {
  	for _, ch := range in {
  		if ch == ' ' || ch == '\t' {
  			n++
  		} else {
  			break
  		}
  	}
  	return
  }
docs: // leadingWhitespaceLen returns count of whitespace characters on given line.