cultmesh-rs: connect() takes a server over any snapshot source
The previous commit's tests did not compile: connect() was typed to the default Source. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
5ab0f9d337
commit
d9d4b32ded
1 changed files with 2 additions and 2 deletions
|
|
@ -241,8 +241,8 @@ fn client_on(
|
|||
})
|
||||
}
|
||||
|
||||
fn connect(
|
||||
server: &mut Server,
|
||||
fn connect<Q: CultMeshRudpSnapshotSource>(
|
||||
server: &mut CultMeshRudpDocumentServer<Sink, Q, Clock>,
|
||||
clients: &mut [&mut CultNetRudpSocketTransportConnection],
|
||||
) -> Result<()> {
|
||||
for client in &mut *clients {
|
||||
|
|
|
|||
Loading…
Reference in a new issue