Skip to content

Commit 25ea4dc

Browse files
committed
style: reformat
1 parent daaa627 commit 25ea4dc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rust/ime/src/dll.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ pub static mut DLL_INSTANCE: HINSTANCE = HINSTANCE { 0: 0 };
1111
#[doc(hidden)]
1212
pub unsafe extern "system" fn DllRegisterServer() -> HRESULT {
1313
unsafe fn register() -> windows::core::Result<()> {
14-
registry::register_server(DLL_INSTANCE).map_err(|_| {
15-
windows::core::Error::new(E_FAIL, "Failed to register server".into())
16-
})?;
14+
registry::register_server(DLL_INSTANCE)
15+
.map_err(|_| windows::core::Error::new(E_FAIL, "Failed to register server".into()))?;
1716
registry::register_profile(DLL_INSTANCE)?;
1817
registry::register_categories()?;
1918
Ok(())

0 commit comments

Comments
 (0)