rust/library/core
Jubilee 0151cbe6e8
Rollup merge of #127879 - kornelski:bad-pointer-printf, r=workingjubilee
Document futility of printing temporary pointers

In the user forum I've seen a few people trying to understand how borrowing and moves are implemented by peppering their code with printing of `{:p}` of references to variables and expressions. This is a bad idea. It gives misleading and confusing results, because of autoderef magic, printing pointers of temporaries on the stack, and/or causes LLVM to optimize code differently when values had their address exposed.
2024-09-15 23:51:24 -07:00
..
benches Improve isqrt tests and add benchmarks 2024-08-28 23:06:54 -04:00
src Rollup merge of #127879 - kornelski:bad-pointer-printf, r=workingjubilee 2024-09-15 23:51:24 -07:00
tests stabilize const_mut_refs 2024-09-15 09:51:32 +02:00
Cargo.toml Port std library to RTEMS 2024-09-03 09:19:29 +02:00