diff options
| author | njaremko | 2017-07-20 22:22:35 -0400 |
|---|---|---|
| committer | njaremko | 2017-07-20 22:22:35 -0400 |
| commit | d5bab3f8665256aa1a1cc05b6822dc2d3869ab74 (patch) | |
| tree | 1a8bf34b79a8d40b8a77a3fc15fd651ddc5659b5 | |
| parent | 79254251d52b62ea5b20ba5eb042ea7c31963de8 (diff) | |
| download | podcast-d5bab3f8665256aa1a1cc05b6822dc2d3869ab74.tar.bz2 | |
Remove dead_code warning
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/structs.rs | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -1,2 +1,3 @@ /target/ **/*.rs.bk +*.lock @@ -1,6 +1,6 @@ [package] name = "podcast" -version = "0.1.2" +version = "0.1.3" authors = ["njaremko <njaremko@gmail.com>"] description = "A command line podcast player" license = "GPL-3.0" diff --git a/src/structs.rs b/src/structs.rs index 7282996..a94c96e 100644 --- a/src/structs.rs +++ b/src/structs.rs @@ -85,6 +85,7 @@ impl Podcast { self.0.title() } + #[allow(dead_code)] pub fn url(&self) -> &str { self.0.link() } |
