From 22a5392df7da26076cf01ca0766b583fea7f6c68 Mon Sep 17 00:00:00 2001 From: GaoZG2 <112530521+GaoZG2@users.noreply.github.com> Date: Sun, 18 Jun 2023 04:18:16 +0800 Subject: [PATCH] Update string-slice.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 代码的补充注释 --- src/basic/compound-type/string-slice.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/basic/compound-type/string-slice.md b/src/basic/compound-type/string-slice.md index a0de57c9..72490d17 100644 --- a/src/basic/compound-type/string-slice.md +++ b/src/basic/compound-type/string-slice.md @@ -600,6 +600,7 @@ fn main() { ); // 换行了也会保持之前的字符串格式 + // 使用\忽略换行符 let long_string = "String literals can span multiple lines. The linebreak and indentation here ->\