edition2018の地味に嬉しい効用として,クレート内のモジュールにアクセスするために "crate::" が必須になるので外部クレートと同じ名前のモジュールをクレートのルートに生やすことが容易になるなどがある
-
Show this thread
// src/lib.rs extern crate http as http_crate; mod http; mod some { use http_crate as http; ... } みたいなハックが不要になる
2:36 AM - 5 Aug 2018
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.