fmt: remove space in front of ? and ! (#14366)

This commit is contained in:
Daniel Däschle 2022-05-13 05:56:21 +02:00 committed by GitHub
parent df029da942
commit d679146a80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
324 changed files with 1865 additions and 1879 deletions

View file

@ -50,7 +50,7 @@ pub fn (mut r Readline) read_line_utf8(prompt string) ?[]rune {
// read_line does the same as `read_line_utf8` but returns user input as a `string`.
// (As opposed to `[]rune` returned by `read_line_utf8`).
pub fn (mut r Readline) read_line(prompt string) ?string {
s := r.read_line_utf8(prompt) ?
s := r.read_line_utf8(prompt)?
return s.string()
}
@ -65,7 +65,7 @@ pub fn (mut r Readline) read_line(prompt string) ?string {
// persistent functionalities (e.g. history).
pub fn read_line_utf8(prompt string) ?[]rune {
mut r := Readline{}
s := r.read_line_utf8(prompt) ?
s := r.read_line_utf8(prompt)?
return s
}
@ -75,6 +75,6 @@ pub fn read_line_utf8(prompt string) ?[]rune {
// persistent functionalities (e.g. history).
pub fn read_line(prompt string) ?string {
mut r := Readline{}
s := r.read_line(prompt) ?
s := r.read_line(prompt)?
return s
}