Skip to content

Commit

Permalink
Fix typos in docs (#58)
Browse files Browse the repository at this point in the history
Co-authored-by: Nathan Ruiz <[email protected]>
  • Loading branch information
nathanruiz and Nathan Ruiz authored Dec 29, 2024
1 parent c21393b commit 946106d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/docs/controllers/response.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Commonly used when some resource doesn't exist, HTTP response code `404 - Not Fo
let response = Response::not_found();
```

HTTP 404 is returned automatically by Rwf when a user requests a route that doens't have a controller.
HTTP 404 is returned automatically by Rwf when a user requests a route that doesn't have a controller.

##### 403 - Forbidden

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/controllers/websockets.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct Echo;

#[async_trait]
impl WebsocketController for Echo {
/// Run some code when a new client connects to the WebScoket server.
/// Run some code when a new client connects to the WebSocket server.
async fn handle_connection(
&self,
client: &SessionId,
Expand All @@ -53,7 +53,7 @@ impl WebsocketController for Echo {
message: Message,
) -> Result<(), Error> {
// Get an app-wide WebSocket channel to the client.
// This will send a message to the client via WebScoket
// This will send a message to the client via WebSocket
// connection from anywhere in the code.
let comms = Comms::websocket(client);

Expand Down

0 comments on commit 946106d

Please sign in to comment.