1
0
Fork 0
forked from wry/wry

config: add Client

This commit is contained in:
Julian Orth 2025-05-02 19:24:43 +02:00
parent 52994c085a
commit ab095b89cf
6 changed files with 133 additions and 11 deletions

View file

@ -106,7 +106,6 @@ impl Clients {
ClientId(self.next_client_id.fetch_add(1))
}
#[cfg_attr(not(feature = "it"), expect(dead_code))]
pub fn get(&self, id: ClientId) -> Result<Rc<Client>, ClientError> {
let clients = self.clients.borrow();
match clients.get(&id) {