From d8d592f578f4a8b6d33069897ba220782efbfd08 Mon Sep 17 00:00:00 2001 From: Zolyn Date: Thu, 6 Nov 2025 22:59:40 +0800 Subject: [PATCH] typo: src/basic/compound-type/string-slice.md --- src/basic/compound-type/string-slice.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/compound-type/string-slice.md b/src/basic/compound-type/string-slice.md index f3ed4f88..6cdab060 100644 --- a/src/basic/compound-type/string-slice.md +++ b/src/basic/compound-type/string-slice.md @@ -17,7 +17,7 @@ fn greet(name: String) { `greet` 函数接受一个字符串类型的 `name` 参数,然后打印到终端控制台中,非常好理解,你们猜猜,这段代码能否通过编译? -```conole +```console error[E0308]: mismatched types --> src/main.rs:3:11 |