{"blog_url":"https://takoyaking.hatenablog.com/","blog_title":"TAKOYAKING\u2019s blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakoyaking.hatenablog.com%2Fentry%2Frust_prelude\" title=\"Rust: use std::io::prelude::*; - 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>","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/TAKOYAKING/","provider_url":"https://hatena.blog","height":"190","width":"100%","url":"https://takoyaking.hatenablog.com/entry/rust_prelude","author_name":"TAKOYAKING","categories":["Rust"],"description":"Rust\u3067\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3092\u3059\u308b\u3068\u304d\u306bprelude\u3068use\u3059\u308b\u306e\u304c\u6c17\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u5099\u5fd8\u9332\u3068\u3057\u3066\u6b8b\u3057\u307e\u3059\u3002 std::io::prelude std::io::prelude - Rust \u3088\u304f\u4f7f\u7528\u3055\u308c\u308bio\u306etrait\u3092import\u3057\u3066\u304f\u308c\u308b\u4fbf\u5229\u306a\u3082\u306e \u30b3\u30fc\u30c9 \u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306f\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3093\u3067print\u3059\u308b use std::fs; use std::path::Path; use std::io; use std::io::prelude::*; use std::io::BufReader; fn main() { cat().unwrap_or_else(|why| panic!(why\u2026","title":"Rust: use std::io::prelude::*;","published":"2020-04-08 09:00:00","type":"rich","version":"1.0","image_url":"https://www.rust-lang.org/static/images/rust-social-wide.jpg"}