diff options
Diffstat (limited to 'helix-core/src/increment/mod.rs')
-rw-r--r-- | helix-core/src/increment/mod.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/helix-core/src/increment/mod.rs b/helix-core/src/increment/mod.rs new file mode 100644 index 00000000..71a1f183 --- /dev/null +++ b/helix-core/src/increment/mod.rs @@ -0,0 +1,8 @@ +pub mod date; +pub mod number; + +use crate::{Range, Tendril}; + +pub trait Increment { + fn increment(&self, amount: i64) -> (Range, Tendril); +} |