Add rustfmt.toml
Add rustfmt.toml that is being used by projects under smithay's umbrella.
This commit is contained in:
parent
7fc533d55f
commit
597086c42c
8 changed files with 29 additions and 84 deletions
14
src/lib.rs
14
src/lib.rs
|
|
@ -32,18 +32,10 @@ impl Clipboard {
|
|||
let (clipboard_reply_sender, request_receiver) = mpsc::channel();
|
||||
|
||||
let name = String::from("smithay-clipboard");
|
||||
let clipboard_thread = worker::spawn(
|
||||
name,
|
||||
display,
|
||||
clipboard_request_receiver,
|
||||
clipboard_reply_sender,
|
||||
);
|
||||
let clipboard_thread =
|
||||
worker::spawn(name, display, clipboard_request_receiver, clipboard_reply_sender);
|
||||
|
||||
Self {
|
||||
request_receiver,
|
||||
request_sender,
|
||||
clipboard_thread,
|
||||
}
|
||||
Self { request_receiver, request_sender, clipboard_thread }
|
||||
}
|
||||
|
||||
/// Load clipboard data.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue