Skip to content

Commit 8bb227d

Browse files
Fix small typo in common.md (#985)
Signed-off-by: Neil Henderson <[email protected]>
1 parent 6facf81 commit 8bb227d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cpp2/common.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Cpp2 supports using Cpp1 user-defined literals for compatibility, to support sea
113113

114114
- You can write a 'constexpr' function like `nm: (value: i64) -> my_nanometer_type == { /*...*/ }` that takes an integer and returns a value of a strongly typed "nanometer" type, and then create a `nm` value by writing either `nm(123)` or **`123.nm()`**.
115115

116-
Both **`123.n()`** and **`123.u8()`** are very similar to user-defined literal syntax, and more general.
116+
Both **`123.nm()`** and **`123.u8()`** are very similar to user-defined literal syntax, and more general.
117117

118118
## Operators
119119

0 commit comments

Comments
 (0)