aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/increment/date_time.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-02-07 05:03:04 +0000
committerBlaž Hrastnik2022-02-10 02:12:47 +0000
commitf88c077f992bbfc5ea3623441a9e2b2a0e9ca2b2 (patch)
tree4dd02bff7a5cfea44a3f5e217696ae0a3d39e236 /helix-core/src/increment/date_time.rs
parentfdb9a1677b937e4975ff26d252c7da9f2a5df1f0 (diff)
Replace tendril with smartstring
Slightly smaller API surface, less dependencies.
Diffstat (limited to 'helix-core/src/increment/date_time.rs')
-rw-r--r--helix-core/src/increment/date_time.rs2
1 files changed, 1 insertions, 1 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)
);
}
}