diff options
author | Blaž Hrastnik | 2022-02-07 05:03:04 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-02-10 02:12:47 +0000 |
commit | f88c077f992bbfc5ea3623441a9e2b2a0e9ca2b2 (patch) | |
tree | 4dd02bff7a5cfea44a3f5e217696ae0a3d39e236 /helix-core/src/increment | |
parent | fdb9a1677b937e4975ff26d252c7da9f2a5df1f0 (diff) |
Replace tendril with smartstring
Slightly smaller API surface, less dependencies.
Diffstat (limited to 'helix-core/src/increment')
-rw-r--r-- | helix-core/src/increment/date_time.rs | 2 | ||||
-rw-r--r-- | helix-core/src/increment/number.rs | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/helix-core/src/increment/date_time.rs b/helix-core/src/increment/date_time.rs index 1703c3ba..91fa5963 100644 --- a/helix-core/src/increment/date_time.rs +++ b/helix-core/src/increment/date_time.rs @@ -451,7 +451,7 @@ mod test { .unwrap() .increment(amount) .1, - expected.into() + Tendril::from(expected) ); } } diff --git a/helix-core/src/increment/number.rs b/helix-core/src/increment/number.rs index a19b7e75..57171f67 100644 --- a/helix-core/src/increment/number.rs +++ b/helix-core/src/increment/number.rs @@ -371,7 +371,7 @@ mod test { .unwrap() .increment(amount) .1, - expected.into() + Tendril::from(expected) ); } } @@ -398,7 +398,7 @@ mod test { .unwrap() .increment(amount) .1, - expected.into() + Tendril::from(expected) ); } } @@ -426,7 +426,7 @@ mod test { .unwrap() .increment(amount) .1, - expected.into() + Tendril::from(expected) ); } } @@ -472,7 +472,7 @@ mod test { .unwrap() .increment(amount) .1, - expected.into() + Tendril::from(expected) ); } } @@ -500,7 +500,7 @@ mod test { .unwrap() .increment(amount) .1, - expected.into() + Tendril::from(expected) ); } } |