|
|
|
|
|
by Tuna-Fish
665 days ago
|
|
> article authors are surprised the unsafe keyword is not required The often surprising part of raw pointers to system programmers newly dabbling in Rust is that every operation on them is safe, except for deref. You can freely take addresses and do pointer arithmetic on them without having to deal with unsafe, and only have to tell the compiler that you know what you are doing when you either load or store something through them. |
|