chore: cargo fix

This commit is contained in:
Zixuan Chen 2022-09-07 18:44:32 +08:00
parent 96f29ee0fa
commit 6209de97a3
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,6 @@
use crate::Rle;
use super::{
cursor::UnsafeCursor,
node::LeafNode,
tree_trait::{Position, RleTreeTrait},
SafeCursor,

View file

@ -3,7 +3,7 @@ use std::ptr::NonNull;
use crate::{HasLength, Mergable, Sliceable};
impl<T> Mergable for NonNull<T> {
fn is_mergable(&self, other: &Self, _conf: &()) -> bool
fn is_mergable(&self, _other: &Self, _conf: &()) -> bool
where
Self: Sized,
{
@ -19,7 +19,7 @@ impl<T> Mergable for NonNull<T> {
}
impl<T> Sliceable for NonNull<T> {
fn slice(&self, from: usize, to: usize) -> Self {
fn slice(&self, _from: usize, _to: usize) -> Self {
*self
}
}