diff options
| author | Matthew Collins <[email protected]> | 2018-03-01 13:21:58 +0000 |
|---|---|---|
| committer | Matthew Collins <[email protected]> | 2018-03-01 13:21:58 +0000 |
| commit | 87f12035204ac34a0c394e3770ec0f3048900702 (patch) | |
| tree | 7cc6a57a49de1c46e48c2d4685255a273ee00bab /src/lib.rs | |
| parent | Don't require the manager to implement Clone for the client to be clonable (diff) | |
| download | steamworks-rs-87f12035204ac34a0c394e3770ec0f3048900702.tar.xz steamworks-rs-87f12035204ac34a0c394e3770ec0f3048900702.zip | |
Replace Cow<str> with String in the API
The steamworks API states that returned strings may be freed at
any time and must not be stored.
Also adds a way to get the current user's name.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -24,7 +24,6 @@ pub use user::*; use std::sync::{Arc, Mutex, Weak}; use std::ffi::{CString, CStr}; -use std::borrow::Cow; use std::fmt::{ Debug, Formatter, self }; |