diff options
| author | Flaise <[email protected]> | 2019-08-22 11:28:59 -0500 |
|---|---|---|
| committer | Flaise <[email protected]> | 2019-08-22 11:28:59 -0500 |
| commit | 38155dcf5533436d4ad302c9bfa1c982226a21f9 (patch) | |
| tree | 2599f55885279ae1dbd85dfaee03e28b5379c34f /src/server.rs | |
| parent | Replaced tabs with spaces (diff) | |
| download | steamworks-rs-38155dcf5533436d4ad302c9bfa1c982226a21f9.tar.xz steamworks-rs-38155dcf5533436d4ad302c9bfa1c982226a21f9.zip | |
SteamError is Copy and Clone, adjusted callback type constraints
Diffstat (limited to 'src/server.rs')
| -rw-r--r-- | src/server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.rs b/src/server.rs index 47916d3..f178d28 100644 --- a/src/server.rs +++ b/src/server.rs @@ -100,7 +100,7 @@ impl Server { /// is called when the event arrives. pub fn register_callback<C, F>(&self, f: F) -> CallbackHandle<ServerManager> where C: Callback, - F: FnMut(C) + 'static + Send + Sync + F: FnMut(C) + 'static + Send { unsafe { register_callback(&self.inner, f, true) |