diff options
| author | Matthew Collins <[email protected]> | 2018-02-17 15:55:00 +0000 |
|---|---|---|
| committer | Matthew Collins <[email protected]> | 2018-02-17 15:55:00 +0000 |
| commit | 4ff3f4c5c6492f2b16702d20355bb0dabeece29e (patch) | |
| tree | f00a301e2e39f904201f0600837607235ac95ec8 /src/lib.rs | |
| parent | Allow the use of the api across threads (diff) | |
| download | steamworks-rs-4ff3f4c5c6492f2b16702d20355bb0dabeece29e.tar.xz steamworks-rs-4ff3f4c5c6492f2b16702d20355bb0dabeece29e.zip | |
Fix use of deprecated method
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -207,7 +207,7 @@ mod tests { for _ in 0 .. 50 { client.run_callbacks(); - ::std::thread::sleep_ms(100); + ::std::thread::sleep(::std::time::Duration::from_millis(100)); } } } |