> It uses an unsafe code block.
it's okay, it's Rust unsafe > It uses an unsafe code block.
it's okay, it's Rust unsafeThe point of advertising no unsafe in the readme is so that people do not have to worry if the author handled unsafe correctly.
This is where you are mistaken. Quoting the book:
>Be warned, however, that you use unsafe Rust at your own risk: if you use unsafe code incorrectly, problems can occur due to memory unsafety, such as null pointer dereferencing.
With unsafe rust the compiler no longer ensures everything is safe and it is up to the programmer to ensure that it is.
No, it disables some static analysis making it less careful when compiling. Please reread the chapters I linked to you because it seems like you fundamentally misunderstand what unsafe rust is. I'm happy to answer any questions you may have to clarify it.
If you have any questions, I would be happy to forward them to my ChatGPT Pro subscription, and then relay the answer back to you.
Rust is an AI native language, it's best to start there.
This would be terrible, I thought rust was a safe language...
https://github.com/jedisct1/yes-rs/blob/main/src/main.rs#L1233