[Rust] Fix small mistyping (#6585)
authorAlexander Zaitsev <zamazan4ik@tut.by>
Thu, 22 Apr 2021 19:36:23 +0000 (22:36 +0300)
committerGitHub <noreply@github.com>
Thu, 22 Apr 2021 19:36:23 +0000 (12:36 -0700)
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 :)

samples/sample_binary.rs

index 67f05e6..6972e7f 100644 (file)
@@ -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,