From fe5403014267b81142581f54c38e4576a391ea6f Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Mon, 16 Nov 2020 19:55:48 -0500 Subject: Thumbnails and shortened descriptions. --- dichroism/src/models/photo.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'dichroism/src/models') diff --git a/dichroism/src/models/photo.rs b/dichroism/src/models/photo.rs index e24a691..086d387 100644 --- a/dichroism/src/models/photo.rs +++ b/dichroism/src/models/photo.rs @@ -7,8 +7,4 @@ impl Photo { pub fn new(id: String) -> Self { Self { id } } - - pub fn filename(&self) -> String { - format!("{}.jpg", self.id) - } } -- cgit v1.2.3