You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
More often than not, when using starts_with or ends_with I actually want to do something with the remaining slice and have to split it out manually, e.g.:
if s.starts_with(prefix){let part = &s[prefix.len()..];// ...}
it would be more convenient to just do
ifletSome(part) = s.starts_split(prefix){// ...}
The text was updated successfully, but these errors were encountered:
This update addresses the tickets deltachat#133 and deltachat#134.
The mode of the program is now controlled by a new configuration parameter ChatMode, whose value "off" forces the program to use the "Gr." legacy prefix, and "on", which outputs the "chat$group." prefix. For reading the header both prefixes are recognized and accepted.
Function dc_create_outgoing_rfc724_mid has now a new parameter "context" to allow reading the configuration within the function.
The new convention has been reflected on the tests at the end of dc_tools.rs.
In the source the modified code sections are marked by the date and the committer name "Juha-Petri Tyrkkö".
More often than not, when using
starts_with
orends_with
I actually want to do something with the remaining slice and have to split it out manually, e.g.:it would be more convenient to just do
The text was updated successfully, but these errors were encountered: