{"provider_name":"Hatena Blog","author_name":"TAKOYAKING","url":"https://takoyaking.hatenablog.com/entry/rust_temp_value_error","title":"Rust: temporary value is freed at the end of this stat","image_url":null,"version":"1.0","type":"rich","height":"190","published":"2020-05-27 09:00:00","author_url":"https://blog.hatena.ne.jp/TAKOYAKING/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakoyaking.hatenablog.com%2Fentry%2Frust_temp_value_error\" title=\"Rust: temporary value is freed at the end of this stat - TAKOYAKING\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u73fe\u8c61 struct Note { name:String, } let name = note.name.trim(); println!(\"{}\", name); \u3053\u3046\u3044\u3046\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u305f\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u3067\u305f\u3002 Rust: temporary value is freed at the end of this stat \u539f\u56e0 rust - Temporary value is freed at the end of this statement - Stack Overflow \u3053\u3061\u3089\u306b\u66f8\u3044\u3066\u3042\u308a\u307e\u3057\u305f\u3002 \u539f\u56e0\u306f&str\u306fString\u306e\u53c2\u7167\u3067\u3042\u308a\u3001&str\u306fString\u304c\u751f\u304d\u3066\u3044\u308b\u9650\u308a\u53c2\u2026","width":"100%","blog_title":"TAKOYAKING\u2019s blog","categories":["Rust"],"blog_url":"https://takoyaking.hatenablog.com/","provider_url":"https://hatena.blog"}