mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Remove useless cast of format! argument
Both `c_int' and `u32' format is same way by default formatter `{}'.
This commit is contained in:
committed by
holger krekel
parent
cdf3809634
commit
ff39fa0fed
@@ -198,11 +198,7 @@ pub unsafe fn dc_get_msg_info(context: &Context, msg_id: u32) -> *mut libc::c_ch
|
||||
}
|
||||
if let Some(ref server_folder) = (*msg).server_folder {
|
||||
if server_folder != "" {
|
||||
ret += &format!(
|
||||
"\nLast seen as: {}/{}",
|
||||
server_folder,
|
||||
(*msg).server_uid as libc::c_int,
|
||||
);
|
||||
ret += &format!("\nLast seen as: {}/{}", server_folder, (*msg).server_uid);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user