Skip to content

Commit 186579e

Browse files
Merge pull request #5 from RLaursen/main
fix readme example
2 parents 9926f4f + 060aa2c commit 186579e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub fn main() {
5252
let self = process.new_subject()
5353
5454
// Start the child process under a supervisor
55-
let barnacle_worker = barnacle.child_spec(barnacle, None)
55+
let barnacle_worker = barnacle.child_spec(barnacle, self)
5656
let assert Ok(_) = supervisor.start(supervisor.add(_, barnacle_worker))
5757
5858
// Get a subject to send messages to the child process

0 commit comments

Comments
 (0)