diff options
author | Alexander Zaitsev <zamazan4ik@tut.by> | 2021-04-22 22:36:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 12:36:23 -0700 |
commit | b82fe07384790cbe977fc1ab6cbe85ce478cac12 (patch) | |
tree | 4c61287a926e57f53f4319ab2b6294b963688a75 | |
parent | 1e7f6c8c7cdce48d1f7744d8540b165daa267ab6 (diff) | |
download | flatbuffers-b82fe07384790cbe977fc1ab6cbe85ce478cac12.tar.gz flatbuffers-b82fe07384790cbe977fc1ab6cbe85ce478cac12.tar.bz2 flatbuffers-b82fe07384790cbe977fc1ab6cbe85ce478cac12.zip |
[Rust] Fix small mistyping (#6585)
Hi!
Just a veeeeeery small fix in the Rust sample. No functionality is affected.
That's not important at all but annoying for my eyes :)
-rw-r--r-- | samples/sample_binary.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/sample_binary.rs b/samples/sample_binary.rs index 67f05e69..6972e7ff 100644 --- a/samples/sample_binary.rs +++ b/samples/sample_binary.rs @@ -72,7 +72,7 @@ fn main() { // Create the monster using the `Monster::create` helper function. This // function accepts a `MonsterArgs` struct, which supplies all of the data // needed to build a `Monster`. To supply empty/default fields, just use the - // Rust built-in `Default::default()` function, as demononstrated below. + // Rust built-in `Default::default()` function, as demonstrated below. let orc = Monster::create(&mut builder, &MonsterArgs{ pos: Some(&Vec3::new(1.0f32, 2.0f32, 3.0f32)), mana: 150, |