mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Fix interal links and work around errors for #comments links
Zola only checks the markdown source for link targets, so an error occurs if the target is in an template. This is the case for our `#comments` links, so we add a dummy target in a comment.
This commit is contained in:
@@ -20,6 +20,7 @@ translators = ["kahirokunn", "garasubo", "sozysozbot", "woodyZootopia"]
|
||||
|
||||
[GitHub]: https://github.com/phil-opp/blog_os
|
||||
[at the bottom]: #comments
|
||||
<!-- fix for zola anchor checker (target is in template): <a id="comments"> -->
|
||||
[post branch]: https://github.com/phil-opp/blog_os/tree/post-12
|
||||
|
||||
<!-- toc -->
|
||||
@@ -232,7 +233,7 @@ Futureコンビネータの大きな利点は、操作を非同期に保つこ
|
||||
|
||||
[_Zero-cost futures in Rust_]: https://aturon.github.io/blog/2016/08/11/futures/
|
||||
|
||||
##### 欠点
|
||||
##### 欠点 {#drawbacks}
|
||||
|
||||
Futureコンビネータを使うと、非常に効率的なコードを書くことができますが、型システムやクロージャベースのインターフェイスのため、状況によっては使いにくいことがあります。例えば、次のようなコードを考えてみましょう:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user