docs: fix redundant print! in doc.

This commit is contained in:
Jonathan 2023-02-28 20:42:34 +02:00 committed by GitHub
parent a07ab4637e
commit 103197e1eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,7 +35,7 @@ print! f x # OK, interpreted as `print!(f(x))`
print!(f(x, y)) # OK print!(f(x, y)) # OK
print! f(x, y) # OK print! f(x, y) # OK
print! f(x, g y) # OK print! f(x, g y) # OK
print! f x, y # NG, can be taken to mean either `print!(f(x), y)` or `print!(f(x, y))` print! print! f x, y # NG, can be taken to mean either `print!(f(x), y)` or `print!(f(x, y))`
print!(f x, y) # NG, can be taken to mean either `print!(f(x), y)` or `print!(f(x, y))` print!(f x, y) # NG, can be taken to mean either `print!(f(x), y)` or `print!(f(x, y))`
print! f(x, g y, z) # NG, can be taken to mean either `print!(x, g(y), z)` or `print!(x, g(y, z))` print! f(x, g y, z) # NG, can be taken to mean either `print!(x, g(y), z)` or `print!(x, g(y, z))`
``` ```