all: fix typos in comments (#20963)

This commit is contained in:
cui fliter 2024-03-05 00:41:55 +08:00 committed by GitHub
parent a58f980b02
commit 78602846e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 29 additions and 29 deletions

View file

@ -24,7 +24,7 @@ $ ./aStar
# Demo
![Demo image of the algorithm](screenshot.png)
# 🔴🔴🔴🔴 Area of improvments 🔴🔴🔴🔴🔴
# 🔴🔴🔴🔴 Area of improvements 🔴🔴🔴🔴🔴
- 🚧 Under Construction: We are using heap, but that is not correctly
implemented, since instead of O(log(n)) it takes O(n). For that reason,

View file

@ -86,7 +86,7 @@ fn main() {
init_fn: init_images // run at start of application
user_data: app // store user data
)
mut grid := initialise_grid() // initialize the grid varibale and populate the matrix with each cell as empty
mut grid := initialise_grid() // initialize the grid variable and populate the matrix with each cell as empty
app.grid = grid // set grid to app attribute so you can access it by just passing app variable or with method of app
app.ui.dpi_scale = 1.0 // set scale this is use to make it responsive
app.start = &Point{ // set start point to -1, -1