import dc_extract... method for rustdoc example

This commit is contained in:
jikstra
2019-08-05 12:54:03 +02:00
committed by Floris Bruynooghe
parent c0b1e41820
commit 76d3d86a9e

View File

@@ -812,6 +812,7 @@ pub unsafe fn dc_create_outgoing_rfc724_mid(
/// # Examples
///
/// ```
/// use deltachat::dc_tools::dc_extract_grpid_from_rfc724_mid;
/// let mid = "Gr.12345678901.morerandom@domain.de";
/// let grpid = dc_extract_grpid_from_rfc724_mid(mid);
/// assert_eq!(grpid, Some("12345678901"));