From 3e846b6dfa3be56a3965255268e27f4dafc8e576 Mon Sep 17 00:00:00 2001 From: bytedream Date: Mon, 31 Mar 2025 00:48:18 +0200 Subject: [PATCH] make more clear what the main function in a binary crate does --- src/tutorial/creating-a-project.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tutorial/creating-a-project.md b/src/tutorial/creating-a-project.md index 8488b46..f1f6098 100644 --- a/src/tutorial/creating-a-project.md +++ b/src/tutorial/creating-a-project.md @@ -3,7 +3,7 @@ ## Create the project package First, you need to create a normal Rust package which can either be a binary or library crate. -A binary crate has a main function that will be executed when initializing the main function, a library crate needs a few more additional compiler flags to compile successfully. +A binary crate has a main function that will be executed when initializing the wasm module, a library crate needs a few more additional compiler flags to compile successfully. As binary: ```shell