Restructure crate layout
This commit is contained in:
parent
1f73e01ff1
commit
1991955c52
10 changed files with 323 additions and 283 deletions
|
|
@ -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>);
|
||||
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue