<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>owiewowe</author_name>
  <author_url>https://blog.hatena.ne.jp/owiewowe/</author_url>
  <blog_title>19日に更新してた</blog_title>
  <blog_url>https://owiewowe.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>rust 面白い。いろいろと遊んでみようかと Rust Cookbook なる日本語化されたページを発見したので、感謝しつつ、早速写経してみようとはじめてみました。uma0317.github.ioで、1.1 の”乱数の生成”、&quot;範囲を指定して乱数を作る&quot;をしようかと Cargo.toml に rand = &quot;0.8.4&quot;とすぐ上に書かれていて、”乱数の生成”で動いた crate をそのまま、main.rs に use rand::Rng; fn main() { let mut rng=rand::thread_rng(); println!(&quot;{} {}&quot;,rng.gen_range(0.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fowiewowe.hatenablog.com%2Fentry%2F2021%2F10%2F19%2F171200&quot; title=&quot;rust rand=&amp;quot;0.8.4&amp;quot;でgen_rangeが効かない - 19日に更新してた&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-19 17:12:00</published>
  <title>rust rand=&quot;0.8.4&quot;でgen_rangeが効かない</title>
  <type>rich</type>
  <url>https://owiewowe.hatenablog.com/entry/2021/10/19/171200</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
