mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
fmt: remove space in front of ? and ! (#14366)
This commit is contained in:
parent
df029da942
commit
d679146a80
324 changed files with 1865 additions and 1879 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue