You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package main
import "fmt"
func main() {
var c rune
n, e := fmt.Sscanf("\n", "%c", &c)
fmt.Println(n, e)
// Go 1.5: 0 unexpected newline
// Go 1.2, 1.3, 1.4: 1 <nil>
}
The text was updated successfully, but these errors were encountered:
It was okay in previous Go versions.
The text was updated successfully, but these errors were encountered: