Skip to content

Commit

Permalink
Clean up buffer imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacdonald committed Feb 13, 2024
1 parent 20b5a84 commit a1f59a8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/buffer/mod.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
//! Types related to in-memory buffers.

// Published API
pub use self::cursor::Cursor;
pub use self::distance::Distance;
pub use self::gap_buffer::GapBuffer;

pub use self::cursor::Cursor;
pub use self::line_range::LineRange;
pub use self::position::Position;
pub use self::range::Range;
pub use self::token::{Lexeme, Token, TokenSet};
use crate::errors::*;
pub use syntect::parsing::{Scope, ScopeStack};

// Child modules
Expand All @@ -22,9 +20,9 @@ mod position;
mod range;
mod token;

// Buffer type implementation
use self::operation::history::History;
use self::operation::{Operation, OperationGroup};
use crate::errors::*;
use std::cell::RefCell;
use std::default::Default;
use std::fs::{self, File};
Expand Down

0 comments on commit a1f59a8

Please sign in to comment.