diff options
author | Nathan Vegdahl | 2021-06-21 17:29:29 +0000 |
---|---|---|
committer | Nathan Vegdahl | 2021-06-21 17:29:29 +0000 |
commit | 07e28802f6b61a17e839d05b2a031575f323b9c9 (patch) | |
tree | cf28b772ad9b43a125a27dc3018ac09ba1bb2e16 /helix-core/src/lib.rs | |
parent | 714002048cc9601bf0981435c6d3ad43d1c765e8 (diff) |
Add function to get the line ending of a str slice.
This is needed in some places.
Diffstat (limited to 'helix-core/src/lib.rs')
-rw-r--r-- | helix-core/src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/helix-core/src/lib.rs b/helix-core/src/lib.rs index 69294688..f697bc7f 100644 --- a/helix-core/src/lib.rs +++ b/helix-core/src/lib.rs @@ -116,7 +116,5 @@ pub use syntax::Syntax; pub use diagnostic::Diagnostic; pub use state::State; -pub use line_ending::{ - auto_detect_line_ending, get_line_ending, line_end_char_index, LineEnding, DEFAULT_LINE_ENDING, -}; +pub use line_ending::{LineEnding, DEFAULT_LINE_ENDING}; pub use transaction::{Assoc, Change, ChangeSet, Operation, Transaction}; |