aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorMatthew Collins <[email protected]>2018-03-01 13:21:58 +0000
committerMatthew Collins <[email protected]>2018-03-01 13:21:58 +0000
commit87f12035204ac34a0c394e3770ec0f3048900702 (patch)
tree7cc6a57a49de1c46e48c2d4685255a273ee00bab /src/lib.rs
parentDon't require the manager to implement Clone for the client to be clonable (diff)
downloadsteamworks-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.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index b359b70..4d8ab32 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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
};