Restructure crate layout

This commit is contained in:
Armin Ronacher 2021-02-02 22:44:52 +01:00
parent 1f73e01ff1
commit 1991955c52
10 changed files with 323 additions and 283 deletions

View file

@ -3,7 +3,8 @@ use std::fs::read;
use std::process::exit;
use console::{style, Style};
use similar::text::{ChangeTag, TextDiff};
use similar::text::TextDiff;
use similar::ChangeTag;
struct Line(Option<usize>);

View file

@ -1,5 +1,6 @@
use console::Style;
use similar::text::{ChangeTag, TextDiff};
use similar::text::TextDiff;
use similar::ChangeTag;
fn main() {
let diff = TextDiff::from_lines(