mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-22 12:57:20 +00:00
chore: cargo fix
This commit is contained in:
parent
96f29ee0fa
commit
6209de97a3
2 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
use crate::Rle;
|
||||
|
||||
use super::{
|
||||
cursor::UnsafeCursor,
|
||||
node::LeafNode,
|
||||
tree_trait::{Position, RleTreeTrait},
|
||||
SafeCursor,
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue