ci: fix failing v -W build-tools and v -W build-examples; run vfmt.

This commit is contained in:
Delyan Angelov 2021-03-19 09:49:26 +02:00
parent ea3d1405ee
commit 04095f4088
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
11 changed files with 22 additions and 21 deletions

View file

@ -7,7 +7,7 @@ fn main() {
// Make a new connection
mut conn := net.dial_tcp('google.com:80') ?
// Simple http HEAD request for a file
conn.write_str('GET /index.html HTTP/1.0\r\n\r\n') ?
conn.write_string('GET /index.html HTTP/1.0\r\n\r\n') ?
// Wrap in a buffered reader
mut r := io.new_buffered_reader(reader: io.make_reader(conn))
for {