From 53561511721f0cced078afc4188f7c8399170133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20L=C3=BChmann?= Date: Tue, 31 Aug 2021 11:49:17 +0200 Subject: [PATCH] fix typo --- doc/langref.html.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 4b3ed0e36a..9ece339172 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -696,7 +696,7 @@ pub fn main() void { Because Zig source code is {#link|UTF-8 encoded|Source Encoding#}, any non-ASCII bytes appearing within a string literal in source code carry their UTF-8 meaning into the content of the string in the Zig program; the bytes are not modified by the compiler. - However, it is possible to embbed non-UTF-8 bytes into a string literal using \xNN notation. + However, it is possible to embed non-UTF-8 bytes into a string literal using \xNN notation.

Unicode code point literals have type {#syntax#}comptime_int{#endsyntax#}, the same as