mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
Remove 'unsafe' qualifier of dc_mimeparser_new()
This commit is contained in:
committed by
Floris Bruynooghe
parent
eca11a74d7
commit
22c1b34ebf
@@ -63,7 +63,7 @@ pub struct dc_mimeparser_t<'a> {
|
|||||||
pub message_kml: Option<location::Kml>,
|
pub message_kml: Option<location::Kml>,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub unsafe fn dc_mimeparser_new(context: &Context) -> dc_mimeparser_t {
|
pub fn dc_mimeparser_new(context: &Context) -> dc_mimeparser_t {
|
||||||
dc_mimeparser_t {
|
dc_mimeparser_t {
|
||||||
parts: Vec::new(),
|
parts: Vec::new(),
|
||||||
mimeroot: std::ptr::null_mut(),
|
mimeroot: std::ptr::null_mut(),
|
||||||
|
|||||||
Reference in New Issue
Block a user