mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
dc_array: remove unused binding
This commit is contained in:
@@ -42,7 +42,7 @@ impl dc_array_t {
|
|||||||
pub(crate) fn get_marker(&self, index: usize) -> Option<&str> {
|
pub(crate) fn get_marker(&self, index: usize) -> Option<&str> {
|
||||||
match self {
|
match self {
|
||||||
Self::MsgIds(_) => None,
|
Self::MsgIds(_) => None,
|
||||||
Self::Chat(array) => None,
|
Self::Chat(_) => None,
|
||||||
Self::Locations(array) => array
|
Self::Locations(array) => array
|
||||||
.get(index)
|
.get(index)
|
||||||
.and_then(|location| location.marker.as_deref()),
|
.and_then(|location| location.marker.as_deref()),
|
||||||
|
|||||||
Reference in New Issue
Block a user