Skip to content
Snippets Groups Projects
Commit 46402d7b authored by Per Lindgren's avatar Per Lindgren
Browse files

important typo, in `array.rs`, it does not optimize out the call in --release, why?

parent 58ca9471
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ fn main() {
// test generated in debug/dev mode (un-optimized).
//
// Try to explain in your own words the difference and why?
// (Hint, even if we don't use the result `b`, Rust do optimize out the call, why?)
// (Hint, even if we don't use the result `b`, Rust do not optimize out the call, why?)
//
// [your answer here]
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment