From 653268871b49bbc589095211e6a3b094a755ad06 Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Sun, 14 Dec 2025 10:57:53 -0800 Subject: [PATCH] tokens: remove misplaced ".token." within a word --- src/tokens.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tokens.md b/src/tokens.md index 316f232a21..dad8a7d796 100644 --- a/src/tokens.md +++ b/src/tokens.md @@ -687,7 +687,7 @@ let x: f64 = 2.; ``` This last example is different because it is not possible to use the suffix -syntax with a floating point literal end.token.ing in a period. `2.f64` would attempt +syntax with a floating point literal ending in a period. `2.f64` would attempt to call a method named `f64` on `2`. Note that `-1.0`, for example, is analyzed as two tokens: `-` followed by `1.0`.