Fix typo in preview

This commit is contained in:
Sayantan Santra 2022-12-08 19:47:25 -06:00
parent d88a8102bf
commit 970f51f299

View file

@ -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