I was looking at the CStr
docs, and was wondering if there was a reason it uses the spelling of "nul bytes" instead of the more common "null bytes"? This even extends to some of the function names, like from_vec_with_nul
, but is not completely consistent (e.g. the docs for impl From<Vec<NonZeroU8, Global>> for CString
use the "null bytes" spelling).
I also cross-checked a few dictionaries as well as docs for other programming languages, but couldn't find a lot of other usages of the "nul" spelling. Idk if I'm just being way too pedantic, but I was just wondering whether the spelling is intentional, or what the reasons behind it might be.