From: Brendan Hansen Date: Tue, 28 Nov 2023 01:50:36 +0000 (-0600) Subject: fixed wording X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=d50826cb94c3c0a5f04c6b06802c859009143b5a;p=onyxlang.io.git fixed wording --- diff --git a/www/templates/pages/docs/guide_http_server.html b/www/templates/pages/docs/guide_http_server.html index e5bc643..5b6475d 100644 --- a/www/templates/pages/docs/guide_http_server.html +++ b/www/templates/pages/docs/guide_http_server.html @@ -143,7 +143,7 @@ $ wasmer run --net out.wasm
-

Rewriting our code

+

Rewriting your code

@@ -188,7 +188,7 @@ index :: (req: &Request, res: &Response) { // Collect routes from all packages. router->collect_routes(); - // Create a TCP server out of our router. + // Create a TCP server out of your router. app := http.server.tcp(&router); // Serve on port 8000. diff --git a/www/templates/pages/docs/guide_raylib.html b/www/templates/pages/docs/guide_raylib.html index c67abb3..7c2f2c3 100644 --- a/www/templates/pages/docs/guide_raylib.html +++ b/www/templates/pages/docs/guide_raylib.html @@ -57,7 +57,7 @@ $ onyx package sync

Now that the project is set up and Raylib is installed, you can start writing some code. - Lets start by testing our environment by creating a simple window with a gray background. + Let's start by testing the environment by creating a simple window with a gray background. Write the following code in a file called game.onyx.

@@ -151,7 +151,7 @@ score: i32; // Reset the score. score = 0; - // Put our player in the middle of the screen. + // Put the player in the middle of the screen. player = .{ x = 600, y = 450,