mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Avoid unstable `inner_deref' feature
This commit is contained in:
committed by
Floris Bruynooghe
parent
765ac2005e
commit
bc2314586c
@@ -1025,7 +1025,7 @@ unsafe fn set_draft_raw(context: &Context, chat_id: uint32_t, msg: *mut dc_msg_t
|
||||
time(),
|
||||
(*msg).type_0,
|
||||
DC_STATE_OUT_DRAFT,
|
||||
(*msg).text.deref().unwrap_or(""),
|
||||
(*msg).text.as_ref().map(String::as_str).unwrap_or(""),
|
||||
(*msg).param.to_string(),
|
||||
1,
|
||||
],
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#![feature(c_variadic, ptr_wrapping_offset_from, ptr_cast, inner_deref)]
|
||||
#![feature(c_variadic, ptr_wrapping_offset_from, ptr_cast)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate failure_derive;
|
||||
|
||||
Reference in New Issue
Block a user