mirror of https://github.com/Wilfred/difftastic/
Stub implementation for inline display
parent
af7fdadf26
commit
c46ef92cd5
@ -1,5 +1,11 @@
|
|||||||
|
use crate::lines::LineGroup;
|
||||||
|
|
||||||
|
pub fn display(groups: &[LineGroup]) -> String {
|
||||||
|
let mut res = String::new();
|
||||||
|
|
||||||
pub fn display() -> String {
|
for group in groups {
|
||||||
"todo 2".into()
|
res.push_str(&format!("{:#?}\n", group))
|
||||||
|
}
|
||||||
|
|
||||||
|
res
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue