Skip to content

Commit

Permalink
docs: fix typos and wording
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbirster authored and lpil committed Mar 27, 2024
1 parent 0544847 commit 0b9301c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gleam/otp/actor.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
//// // `handle_message` callback function (defined below).
//// // We assert that it starts successfully.
//// //
//// // In real-world Gleam OTP programs we would likely write a wrapper functions
//// // In real-world Gleam OTP programs we would likely write wrapper functions
//// // called `start`, `push` `pop`, `shutdown` to start and interact with the
//// // Actor. We are not doing that here for the sake of showing how the Actor
//// // API works.
Expand Down Expand Up @@ -68,7 +68,7 @@
//// // First step of implementing the stack Actor is to define the message type that
//// // it can receive.
//// //
//// // The type of the elements in the stack is no fixed so a type parameter is used
//// // The type of the elements in the stack is not fixed so a type parameter is used
//// // for it instead of a concrete type such as `String` or `Int`.
//// pub type Message(element) {
//// // The `Shutdown` message is used to tell the actor to stop.
Expand All @@ -88,7 +88,7 @@
////
//// // The last part is to implement the `handle_message` callback function.
//// //
//// // This function is called by the Actor each for each message it receives.
//// // This function is called by the Actor for each message it receives.
//// // Actor is single threaded only does one thing at a time, so it handles
//// // messages sequentially and one at a time, in the order they are received.
//// //
Expand Down

0 comments on commit 0b9301c

Please sign in to comment.