Skip to content

Commit 8dbe58e

Browse files
committed
README: Fix documentation
1 parent f800fb8 commit 8dbe58e

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
@@ -153,7 +153,7 @@ The `controller` macro will generate the following for you:
153153
* For each `published` field:
154154
* Setter for this field, named `set_<field-name>` (e.g., `set_state`), which broadcasts any
155155
changes made to this field.
156-
* A `run` method with signature `pub async fn run(&mut self);` which runs the controller logic,
156+
* A `run` method with signature `pub async fn run(mut self);` which runs the controller logic,
157157
proxying calls from the client to the implementations and their return values back to the
158158
clients (internally via channels). Typically you'd call it at the end of your `main` or run it
159159
as a task.

0 commit comments

Comments
 (0)