From 970f51f299a554dc0e9da642f6e2c11cf8882f09 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Thu, 8 Dec 2022 19:47:25 -0600 Subject: [PATCH] Fix typo in preview --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 603572a..466d331 100644 --- a/src/main.rs +++ b/src/main.rs @@ -193,7 +193,7 @@ fn display(movie: &MovieEntry) -> String { buffer.push_str(&format!("Title: {}\n", movie.title)); buffer.push_str(&format!("Release year: {}\n", movie.year)); buffer.push_str(&format!("Language: {}\n", movie.language)); - buffer.push_str(&format!("Director: {}\n", movie.title)); + buffer.push_str(&format!("Director: {}\n", movie.director)); buffer.push_str(&format!("TMDb ID: {}\n", movie.id)); buffer.push_str(&format!("Overview: {}\n", movie.overview)); buffer