{"url":"https://rhysd.hatenablog.com/entry/2019/02/04/205712","height":"190","image_url":null,"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/rhysd/","version":"1.0","description":"Rust \u516c\u5f0f\u306e linter\uff0cclippy \u306b\u65b0\u3057\u3044\u30eb\u30fc\u30eb\u3092\u8db3\u3059\u30d7\u30eb\u30ea\u30af\u3092\u51fa\u3057\u3066\u30de\u30fc\u30b8\u3055\u308c\u305f\u6642\u306e\u30e1\u30e2\u3067\u3059\uff0e github.com dbg! \u30de\u30af\u30ed Rust 1.32 \u3067 dbg! \u3068\u3044\u3046\u30de\u30af\u30ed\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\uff0e \u3053\u308c\u306f\u5024\u30921\u3064\u5f15\u6570\u306b\u3068\u3063\u3066\u305d\u306e\u5024\u3092\u8fd4\u3059\u30de\u30af\u30ed\u3067\uff0c\u53d7\u3051\u53d6\u3063\u305f\u5024\u3068\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u4e0a\u3067\u306e\u4f4d\u7f6e\u3092 print \u3057\u307e\u3059\uff0e fn factorial(n: u32) -> u32 { if dbg!(n <= 1) { dbg!(1) } else { dbg!(n * factorial(n - 1)) } } dbg!(factorial(4)); \u540d\u524d\u306e\u901a\u308a\uff0c\u3044\u308f\u3086\u308b print debu\u2026","width":"100%","blog_url":"https://rhysd.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frhysd.hatenablog.com%2Fentry%2F2019%2F02%2F04%2F205712\" title=\" Rust \u516c\u5f0f linter \u306e clippy \u306b\u65b0\u3057\u3044\u30eb\u30fc\u30eb\u3092\u5b9f\u88c5\u3057\u305f - \u306f\u3084\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306a\u308a\u305f\u3044\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","type":"rich","categories":["Rust"],"title":" Rust \u516c\u5f0f linter \u306e clippy \u306b\u65b0\u3057\u3044\u30eb\u30fc\u30eb\u3092\u5b9f\u88c5\u3057\u305f","author_name":"rhysd","blog_title":"\u306f\u3084\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306a\u308a\u305f\u3044","published":"2019-02-04 20:57:12"}