{"description":"Rust 1.9\u306b\u3066str\u578b\u306eToString\u30c8\u30ec\u30a4\u30c8\u7279\u6b8a\u5316(specialization)\u304c\u5b9f\u88c5\u3055\u308c\u3001to_string\u30e1\u30bd\u30c3\u30c9\u306b\u3088\u308bstr\u578b\u304b\u3089String\u578b\u3078\u306e\u5909\u63db\u51e6\u7406\u304c\u52b9\u7387\u5316\u3055\u308c\u305f\u3002\uff3b\u672c\u8a18\u4e8b\u306fRust 1.11/Stable\u6e96\u62e0\uff3dRust 1.8\u4ee5\u524d\u306f\u30c8\u30ec\u30a4\u30c8\u5b9f\u88c5\u7279\u6b8a\u5316\u306f\u5b58\u5728\u305b\u305a\u3001to_string\u30e1\u30bd\u30c3\u30c9\u306f\u30b8\u30a7\u30cd\u30ea\u30c3\u30af\u3060\u304c\u975e\u52b9\u7387\u306a\u5b9f\u88c5\u304c\u884c\u308f\u308c\u3066\u3044\u305f\u3002Rust 1.9\u3067RFC 1210\u304c\u5b9f\u9a13\u7684\u306b\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3001Rust\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u5185\u90e8\u5b9f\u88c5\u306b\u3066\u9069\u7528\u3055\u308c\u305f\u3002 let s : String = \"foo\".to_string(); // String::from(\"foo\")\u3068\u7b49\u4fa1 Rust\u2026","blog_url":"https://yohhoy.hatenadiary.jp/","height":"190","author_name":"yohhoy","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20160831%2Fp1\" title=\"str\u578b\u3068ToString\u30c8\u30ec\u30a4\u30c8 - yohhoy\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://yohhoy.hatenadiary.jp/entry/20160831/p1","width":"100%","image_url":null,"type":"rich","categories":["Rust"],"author_url":"https://blog.hatena.ne.jp/yohhoy/","provider_url":"https://hatena.blog","published":"2016-08-31 00:00:00","version":"1.0","blog_title":"yohhoy\u306e\u65e5\u8a18","title":"str\u578b\u3068ToString\u30c8\u30ec\u30a4\u30c8"}