chore: reorg

This commit is contained in:
2020-10-17 12:01:53 +08:00
parent 0e7cc78585
commit bf1a0343cc
32 changed files with 0 additions and 0 deletions

16
__diff/diffy/src/main.rs Normal file
View File

@@ -0,0 +1,16 @@
use diffy::PatchFormatter;
const A: &str = r##"
hello world
hatter
"##;
const B: &str = r##"
hello world
hatterj
"##;
fn main() {
let patch = diffy::create_patch(A, B);
let f = PatchFormatter::new().with_color();
print!("{}", f.fmt_patch(&patch));
}