mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-13 22:48:34 +00:00
Format again
This commit is contained in:
parent
e585291e4d
commit
3a1aa3a684
@ -4,9 +4,7 @@ use imgui::{ClipboardBackend, ImStr, ImString};
|
||||
pub struct ClipboardSupport(ClipboardContext);
|
||||
|
||||
pub fn init() -> Option<ClipboardSupport> {
|
||||
ClipboardContext::new()
|
||||
.ok()
|
||||
.map(ClipboardSupport)
|
||||
ClipboardContext::new().ok().map(ClipboardSupport)
|
||||
}
|
||||
|
||||
impl ClipboardBackend for ClipboardSupport {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user