From 101f99c8259bc66b31b324532984750d1b209880 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 15 Mar 2021 13:58:10 -0400 Subject: [PATCH] Use correct function name --- src/document.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/document.rs b/src/document.rs index 402bf79..0adb5a3 100644 --- a/src/document.rs +++ b/src/document.rs @@ -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); }