dc_array: remove unused binding

This commit is contained in:
Alexander Krotov
2020-07-01 12:31:11 +03:00
parent d6b30c9703
commit 97599bd78e

View File

@@ -42,7 +42,7 @@ impl dc_array_t {
pub(crate) fn get_marker(&self, index: usize) -> Option<&str> {
match self {
Self::MsgIds(_) => None,
Self::Chat(array) => None,
Self::Chat(_) => None,
Self::Locations(array) => array
.get(index)
.and_then(|location| location.marker.as_deref()),