From cf695a99e36b114590dee44301a5713c05c11e35 Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Mon, 26 Dec 2022 19:35:09 -0800 Subject: [PATCH] fix casing in type bit widths --- src/basic-syntax/scalar-types.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/basic-syntax/scalar-types.md b/src/basic-syntax/scalar-types.md index 4cc77f44cbf8..2c3478623177 100644 --- a/src/basic-syntax/scalar-types.md +++ b/src/basic-syntax/scalar-types.md @@ -7,12 +7,12 @@ | Floating point numbers | `f32`, `f64` | `3.14`, `-10.0e20`, `2f32` | | Strings | `&str` | `"foo"`, `r#"\\"#` | | Unicode scalar values | `char` | `'a'`, `'α'`, `'∞'` | -| Byte strings | `&[u8]` | `b"abc"`, `br#" " "#` | +| Byte strings | `&[u8]` | `b"abc"`, `br#" " "#` | | Booleans | `bool` | `true`, `false` | The types have widths as follows: -* `iN`, `uN`, and `fN` are _n_ bits wide, +* `iN`, `uN`, and `fN` are _N_ bits wide, * `isize` and `usize` are the width of a pointer, * `char` is 32 bit wide, * `bool` is 8 bit wide.