Use correct function name

This commit is contained in:
Timothy Warren 2021-03-15 13:58:10 -04:00
parent 4618b2be0e
commit 101f99c825

View File

@ -18,7 +18,7 @@ impl Document {
let mut rows = Vec::new();
for value in contents.lines() {
let mut row = Row::From(value);
let mut row = Row::from(value);
row.highlight();
rows.push(row);
}