3 ms·
What's nice about Rust here is that the coercion can be silent but it isn't by default. So open("file") works even though not all file names are strings, but ma
by tialaramex 4y ago
What's nice about Rust here is that the coercion can be silent but it isn't by default. So open("file") works even though not all file names are strings, but matrix + filename is a compile error rather than doing something nobody wants.
That results in a cultural difference (new type idiom) that makes UnsafeString viable while in some languages you could do it but you wouldn't