fix: formatting

This commit is contained in:
2026-09-30 19:48:58 +02:00
parent 10dff5e82c
commit c54774aec1
2 changed files with 5 additions and 20 deletions

View File

@@ -14,10 +14,7 @@ pub fn init<'a, T>(app_name: T) -> Result<(), Box<dyn std::error::Error>>
where
T: Into<Option<&'a str>>,
{
let app_name = app_name
.into()
.map(std::ffi::CString::new)
.transpose()?;
let app_name = app_name.into().map(std::ffi::CString::new).transpose()?;
if unsafe {
notify_init(