Update smithay-client-toolkit version (#5)

* Update smithay-client-toolkit version

* Fix formatting issues
This commit is contained in:
Christian Duerr 2019-06-12 23:19:39 +00:00 committed by trimental
parent 18e49392ca
commit 817340fa14
3 changed files with 7 additions and 4 deletions

View file

@ -118,9 +118,12 @@ impl ThreadedClipboard {
/// focus to work. Otherwise if no seat name is provided
/// the name of the seat to last generate a key or pointer event
/// is used
pub fn store(&mut self, seat_name: Option<String>, text: String) {
pub fn store<T>(&mut self, seat_name: Option<String>, text: T)
where
T: Into<String>,
{
self.request_send
.send(ThreadRequest::Store(seat_name, text))
.send(ThreadRequest::Store(seat_name, text.into()))
.unwrap()
}