diff --git a/crates/bindings/src/lib.rs b/crates/bindings/src/lib.rs index a137ca2db11..145de401ea1 100644 --- a/crates/bindings/src/lib.rs +++ b/crates/bindings/src/lib.rs @@ -1049,7 +1049,7 @@ impl ReducerContext { /// use spacetimedb::{reducer, ReducerContext, Uuid}; /// /// #[reducer] - /// fn generate_uuid_v4(ctx: &ReducerContext) -> Uuid { + /// fn generate_uuid_v4(ctx: &ReducerContext) { /// let uuid = ctx.new_uuid_v4(); /// log::info!(uuid); /// } @@ -1070,9 +1070,10 @@ impl ReducerContext { /// use spacetimedb::{reducer, ReducerContext, Uuid}; /// /// #[reducer] - /// fn generate_uuid_v7(ctx: &ReducerContext) -> Result> { + /// fn generate_uuid_v7(ctx: &ReducerContext) -> Result<(), Box> { /// let uuid = ctx.new_uuid_v7()?; /// log::info!(uuid); + /// Ok(()) /// } /// # } /// ```