From dcdae3ad2d4f32335b23adb460be850d453345c3 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Fri, 23 Oct 2020 21:28:37 +0200 Subject: [PATCH] Format code --- src/clipboard/macos.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/clipboard/macos.rs b/src/clipboard/macos.rs index 307423b..44f7161 100644 --- a/src/clipboard/macos.rs +++ b/src/clipboard/macos.rs @@ -72,8 +72,7 @@ impl super::ClipboardManager for MacClipboardManager { let text_fallback = html2text::from_read_with_decorator(html.as_bytes(), 1000000, decorator); unsafe { - let payload_c = - CString::new(html).expect("unable to create CString for html content"); + let payload_c = CString::new(html).expect("unable to create CString for html content"); let payload_fallback_c = CString::new(text_fallback).unwrap(); set_clipboard_html(payload_c.as_ptr(), payload_fallback_c.as_ptr()); }