diff --git a/content/_index.md b/content/_index.md index a456062..449b386 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1129,7 +1129,7 @@ let t = S(1); - Reserves memory location with name `t` of type `S` and the value `S(1)` stored inside. - If declared with `let` that location lives on stack. 1 -- Note the **linguistic ambiguity**,2 in the term **_variable_**, it can mean the: +- Note the **linguistic ambiguity**, in the term **_variable_**, it can mean the: 1. **name** of the location in the source file ("rename that variable"), 1. **location** in a compiled app, `0x7` ("tell me the address of that variable"), 1. **value** contained within, `S(1)` ("increment that variable"). @@ -4060,6 +4060,9 @@ Similarly, for f64 types this would look like: | `200_u8 + 200_u8` | Compile error. | - | | `200_u8 + _200` d | Panic. | Consider `checked_`, `wrapping_`, … instead. {{ std(page="std/primitive.isize.html#method.checked_add") }}| | `200_u8 + _200` r | `144` | In release mode this will overflow. | +| `-128_i8 * -1` | Compile error. | Would overflow (`128_i8` doesn't exist). | +| `-128_i8 * _1neg` d | Panic. | - | +| `-128_i8 * _1neg` r | `-128` | Overflows back to `-128` in release mode. | | `1_u8 / 2_u8` | `0` | Other integer division truncates. | | `0.8_f32 + 0.1_f32` | `0.90000004` | - | | `1.0_f32 / 0.0_f32` | `f32::INFINITY` | - | diff --git a/static/index.js b/static/index.js index 8ce8cce..997a607 100644 --- a/static/index.js +++ b/static/index.js @@ -64,6 +64,7 @@ const subtitles = [ "Also known as the Rust™️©️®️,not officially affiliated Language Cheat Sheet", "This is not the greatest cheat sheet in the world, no. This is just a tribute.", "To improve CI times this site will only ship as a precompiled binary starting next week.", + "Aquaaaariiiiiiiuuuuuuuuuuus", ];