aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/posts/2021-10-02/rust-where-are-primitive-types-from
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-19 03:24:43 +0900
committernsfisis <nsfisis@gmail.com>2023-03-19 03:24:43 +0900
commitdb3d51ddc421dad68abddb95d01ffdab440197d6 (patch)
tree35a6b45bb964b22fa74486596f4e640db82fb0ac /public/posts/2021-10-02/rust-where-are-primitive-types-from
parentcb5a2a0afdf822651db035904cd8c1307a7b7743 (diff)
downloadblog.nsfisis.dev-db3d51ddc421dad68abddb95d01ffdab440197d6.tar.gz
blog.nsfisis.dev-db3d51ddc421dad68abddb95d01ffdab440197d6.tar.zst
blog.nsfisis.dev-db3d51ddc421dad68abddb95d01ffdab440197d6.zip
feat(content): specify heading id
Diffstat (limited to 'public/posts/2021-10-02/rust-where-are-primitive-types-from')
-rw-r--r--public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html b/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html
index 9e77a85..8c6e269 100644
--- a/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html
+++ b/public/posts/2021-10-02/rust-where-are-primitive-types-from/index.html
@@ -62,8 +62,8 @@
</hr>
</p>
- <section id="section--_前置き">
- <h2><a href="#section--_前置き">前置き</a></h2>
+ <section id="section--intro">
+ <h2><a href="#section--intro">前置き</a></h2>
<p>
Rust において、プリミティブ型の名前は予約語でない。したがって、次のコードは合法である。
</p>
@@ -100,8 +100,8 @@
</blockquote>
</section>
- <section id="section--_調査">
- <h2><a href="#section--_調査">調査</a></h2>
+ <section id="section--code-reading">
+ <h2><a href="#section--code-reading">調査</a></h2>
<p>
調査に使用したソース (調査時点での最新 master)
</p>
@@ -242,8 +242,8 @@ rustc_resolve/src/lib.rs: table.insert(sym::i128, Int(IntTy::I128));
</p>
</section>
- <section id="section--_まとめ">
- <h2><a href="#section--_まとめ">まとめ</a></h2>
+ <section id="section--outro">
+ <h2><a href="#section--outro">まとめ</a></h2>
<p>
Rust のプリミティブ型は予約語ではない。名前解決の最終段階で特別扱いされ、他に同名の型が見つかっていなければ対応するプリミティブ型に解決される。
</p>