Make tests compile again after updating to Rust 2018.
This commit is contained in:
parent
8773bcf0b5
commit
bdbd9bce21
|
@ -318,12 +318,14 @@ fn grapheme_vis_width_at_vis_pos(g: RopeSlice, pos: usize, tab_width: usize) ->
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
#![allow(unused_imports)]
|
||||
use super::*;
|
||||
use buffer::Buffer;
|
||||
use formatter::RoundingBehavior::{Ceiling, Floor, Round};
|
||||
use formatter::{LineFormatter, LINE_BLOCK_LENGTH};
|
||||
use ropey::Rope;
|
||||
use utils::RopeGraphemes;
|
||||
|
||||
use crate::buffer::Buffer;
|
||||
use crate::formatter::RoundingBehavior::{Ceiling, Floor, Round};
|
||||
use crate::formatter::{LineFormatter, LINE_BLOCK_LENGTH};
|
||||
use crate::utils::RopeGraphemes;
|
||||
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn dimensions_1() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user