Skip to content

Commit 1787a76

Browse files
cbugkkaplanelad
andauthored
Fixed typos in docs/getting-started/guide.md (#1206)
* Typo in guide.md * Typo in guide.md * Typo in guide.md Rephrased sentence for readability. * Typo in guide.md --------- Co-authored-by: Elad Kaplan <[email protected]>
1 parent a5421fa commit 1787a76

File tree

1 file changed

+5
-5
lines changed
  • docs-site/content/docs/getting-started

1 file changed

+5
-5
lines changed

Diff for: docs-site/content/docs/getting-started/guide.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Loco is a Web or API framework for Rust. It's also a productivity suite for deve
4141
- **Fat models, slim controllers**. Models should contain most of your logic and business implementation, controllers should just be a lightweight router that understands HTTP and moves parameters around.
4242
- **Command line driven** to keep your momentum and flow. Generate stuff over copying and pasting or coding from scratch.
4343
- **Every task is "infrastructure-ready"**, just plug in your code and wire it in: controllers, models, views, tasks, background jobs, mailers, and more.
44-
- **Convention over configuration**: decisions are already done for you -- the folder structure matter, configuration shape and values matter, and the way an app is wired matter to how an app operates and for you do be the most effective.
44+
- **Convention over configuration**: decisions are already done for you -- the folder structure matter, configuration shape and values matter, and the way an app is wired matter to how an app operates and for you to be the most effective.
4545

4646
## Creating a New Loco App
4747

@@ -104,7 +104,7 @@ Here's a rundown of what Loco creates for you by default:
104104
105105
Let's get some responses quickly. For this, we need to start up the server.
106106

107-
You can now switch to to `myapp`:
107+
You can now switch to `myapp`:
108108

109109
```sh
110110
$ cd myapp
@@ -201,7 +201,7 @@ Loco has powerful generators, which will make you 10x productive and drive your
201201
202202
If you'd like to be entertained for a moment, let's "learn the hard way" and add a new controller manually as well.
203203
204-
Add a file called `home.rs`, and `pub mod home;` it in `mod.rs`:
204+
Add a file called `home.rs`, and line `pub mod home;` in `mod.rs`:
205205
206206
```
207207
src/
@@ -840,9 +840,9 @@ args: Vars { cli: {"var1": "val1", "var2": "val2"} }
840840
------------------------
841841
done: 0 users
842842
```
843-
If you have not added an user before, the report will be empty.
843+
If you have not added a user before, the report will be empty.
844844
845-
To add an user check out chapter [Registering a New User](/docs/getting-started/tour/#registering-a-new-user) of [A Quick Tour with Loco](/docs/getting-started/tour/).
845+
To add a user check out chapter [Registering a New User](/docs/getting-started/tour/#registering-a-new-user) of [A Quick Tour with Loco](/docs/getting-started/tour/).
846846
847847
Remember: this is environmental, so you write the task once, and then execute in development or production as you wish. Tasks are compiled into the main app binary.
848848

0 commit comments

Comments
 (0)