1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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
324 changed files with 1865 additions and 1879 deletions

View File

@@ -8,6 +8,6 @@ fn test_cp() ? {
}
mut r := io.new_buffered_reader(reader: f)
mut stdout := os.stdout()
io.cp(mut r, mut stdout) ?
io.cp(mut r, mut stdout)?
assert true
}

View File

@@ -24,7 +24,7 @@ pub mut:
// is returned immediately and writing to other writers stops.
pub fn (mut m MultiWriter) write(buf []u8) ?int {
for mut w in m.writers {
n := w.write(buf) ?
n := w.write(buf)?
if n != buf.len {
return error('io: incomplete write to writer of MultiWriter')
}