fn last(&self) -> Option<Self::Item> {
        let len = self.len();

        if len > 0 {
            self.get(len - 1)
        } else {
            None
        }
    }
/// Returns the last item in the sequence, or `None` if the sequence is empty.
Returns the last item in the sequence, or `None` if the sequence is empty.
Returns the last item in the sequence or ` None ` if the sequence is empty .
fn last(&self) -> Option<Self::Item> {
        let len = self.len();
        if len > 0 {
            self.get(len - 1)
        } else {
            None
        }
    }
fn last ( & self ) -> Option < Self :: Item > { let len = self . len ( ) ; if len > 0 { self . get ( len - 1 ) } else { None } }
Returns the last item in the sequence, or `None` if the sequence is empty.
Returns the last item in the sequence or ` None ` if the sequence is empty .
&self
&self