rename none to null

This commit is contained in:
2026-07-21 22:59:51 +02:00
parent 1619ea98a3
commit 402871ef7a
44 changed files with 3771 additions and 3767 deletions
+6 -6
View File
@@ -38,7 +38,7 @@ hide write_too_much func(_ ?@mut anyopaque, _ io.Handle, bytes []u8) usize ! io.
ok_reader func() io.Reader {
return io.Reader {
context = none,
context = null,
handle = io.Handle {file_desc = 0},
read = read_ok,
}
@@ -46,7 +46,7 @@ ok_reader func() io.Reader {
bad_reader func() io.Reader {
return io.Reader {
context = none,
context = null,
handle = io.Handle {file_desc = 0},
read = read_too_much,
}
@@ -54,7 +54,7 @@ bad_reader func() io.Reader {
eof_reader func() io.Reader {
return io.Reader {
context = none,
context = null,
handle = io.Handle {file_desc = 0},
read = read_eof,
}
@@ -62,7 +62,7 @@ eof_reader func() io.Reader {
short_writer func() io.Writer {
return io.Writer {
context = none,
context = null,
handle = io.Handle {file_desc = 0},
write = write_short,
}
@@ -70,7 +70,7 @@ short_writer func() io.Writer {
none_writer func() io.Writer {
return io.Writer {
context = none,
context = null,
handle = io.Handle {file_desc = 0},
write = write_none,
}
@@ -78,7 +78,7 @@ none_writer func() io.Writer {
bad_writer func() io.Writer {
return io.Writer {
context = none,
context = null,
handle = io.Handle {file_desc = 0},
write = write_too_much,
}