From f101927a63e20b0d2764b3b02efa05206851730e Mon Sep 17 00:00:00 2001 From: Linc <762699299@qq.com> Date: Sun, 20 Apr 2025 21:40:37 +0800 Subject: [PATCH] docs: fix some syntax errors4 --- .github/workflows/{ci.yml => ci.yml.backup} | 0 assets/writing-material/posts/hashmap.md | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{ci.yml => ci.yml.backup} (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml.backup similarity index 100% rename from .github/workflows/ci.yml rename to .github/workflows/ci.yml.backup diff --git a/assets/writing-material/posts/hashmap.md b/assets/writing-material/posts/hashmap.md index 7fada8ee..80cf7d2a 100644 --- a/assets/writing-material/posts/hashmap.md +++ b/assets/writing-material/posts/hashmap.md @@ -3,4 +3,4 @@ Any type that implements the Eq and Hash traits can be a key in HashMap. Note that f32 and f64 do not implement Hash, likely because floating-point precision errors would make using them as hashmap keys horribly error-prone. -All collection classes implement Eq and Hash if their contained type also respectively implements Eq and Hash. For example, Vec will implement Hash if T implements Hash. +All collection classes implement Eq and Hash if their contained type also respectively implements Eq and Hash. For example, `Vec` will implement Hash if T implements Hash.