We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcaf543 commit 90f34faCopy full SHA for 90f34fa
examples/do-rpc-server-client/src/server.rs
@@ -3,7 +3,6 @@ use worker::*;
3
4
#[durable_object]
5
pub struct RPCServer {
6
- state: State,
7
counter: u32,
8
}
9
@@ -20,6 +19,6 @@ impl RPCServer {
20
19
21
impl DurableObject for RPCServer {
22
fn new(state: State, _env: Env) -> Self {
23
- Self { state, counter: 0 }
+ Self { counter: 0 }
24
25
0 commit comments