Use more inclusive language

This commit is contained in:
Nigel Tao committed 2021-01-23 19:50:47 +11:00
1 parent 07b5e017e1
commit 2f78804e62
46 files changed
+101 -101

No files matched your search

+2 -2
View File
@@ -1157,8 +1157,8 @@ pub func decoder.tell_me_more?(dst: base.io_writer, minfo: nptr base.more_inform
y: this.io_redirect_pos,
z: 0xFFFF_FFFF_FFFF_FFFF)
}
// Setting io_redirect_fourcc to a dummy value of 1 will cause future calls
// to return an error.
// Setting io_redirect_fourcc to a placeholder value of 1 will cause future
// calls to return an error.
this.io_redirect_fourcc = 1
}
+1 -1
View File
@@ -175,7 +175,7 @@ When copying the suffix to a buffer (either an intermediate buffer or a final
buffer), it is often unnecessary to copy *exactly* suffix length bytes,
provided that there is enough destination buffer space for all Q bytes. Even if
we write excess bytes, decoding subsequent codes will overwrite the excess, or
else we'll hit an end code and the excess will be ignored. Again, on modern
else we'll get an end code and the excess will be ignored. Again, on modern
CPUs, it can be faster to write *at least 7* bytes (i.e. *exactly 8*) than to
write *exactly 7*.