From ee9f28f2e2f26906ba69f2c6019df767a8b3c7a0 Mon Sep 17 00:00:00 2001 From: Sander Hautvast Date: Mon, 7 Feb 2022 16:18:42 +0100 Subject: [PATCH] really minor --- content/post/from_java_2_rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/post/from_java_2_rust.md b/content/post/from_java_2_rust.md index 5e8c575..51a4641 100755 --- a/content/post/from_java_2_rust.md +++ b/content/post/from_java_2_rust.md @@ -46,7 +46,7 @@ Next `()`, like in a lot of languages means: put any parameters here. Curly brac `let` defines a variable, in ths case `name`. Some things to say about this: For one: rust is _strongly typed_, so we could also say `let name: String = String::from("...")` but rust infers the type as much as possible (and that is much more than let's say java does). -Actually `let` does more than declare and assign, it determines ownership. More on that later. +Actually `let` does more than declare and assign, it establishes ownership. More on that later. One last thing to mention here: this is allowed: