Skip to content

Commit

Permalink
Merge pull request #5 from RLaursen/main
Browse files Browse the repository at this point in the history
fix readme example
  • Loading branch information
isaacharrisholt authored Dec 18, 2024
2 parents 9926f4f + 060aa2c commit 186579e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn main() {
let self = process.new_subject()
// Start the child process under a supervisor
let barnacle_worker = barnacle.child_spec(barnacle, None)
let barnacle_worker = barnacle.child_spec(barnacle, self)
let assert Ok(_) = supervisor.start(supervisor.add(_, barnacle_worker))
// Get a subject to send messages to the child process
Expand Down

0 comments on commit 186579e

Please sign in to comment.