From 4c642908636db4ab6c2b5dd697683994cd9e678d Mon Sep 17 00:00:00 2001 From: Narender Singh Date: Sun, 21 Apr 2024 20:22:50 +0530 Subject: [PATCH] Update ch03-02-data-types.md Fix the number of scalar types --- src/ch03-02-data-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch03-02-data-types.md b/src/ch03-02-data-types.md index 2cfc156e89..fc21b2ba7c 100644 --- a/src/ch03-02-data-types.md +++ b/src/ch03-02-data-types.md @@ -28,7 +28,7 @@ You’ll see different type annotations for other data types. ### Scalar Types -A *scalar* type represents a single value. Rust has four primary scalar types: +A *scalar* type represents a single value. Rust has four five scalar types: integers, floating-point numbers, Booleans, and characters. You may recognize these from other programming languages. Let’s jump into how they work in Rust.