rmptui4015a7e
update Cargo.toml > v0.1.1
+6 −3
3 files changed
- M Cargo.lock +1 −1
- M Cargo.toml +4 −1
- M src/list.rs +1 −1
| @@ -282,7 +282,7 @@ dependencies = [ | |||
| 282 | 282 | ||
| 283 | 283 | [[package]] | |
| 284 | 284 | name = "rmptui" | |
| 285 | − | version = "0.1.0" | |
| 285 | + | version = "0.1.1" | |
| 286 | 286 | dependencies = [ | |
| 287 | 287 | "crossterm", | |
| 288 | 288 | "mpd", | |
| @@ -1,7 +1,10 @@ | |||
| 1 | 1 | [package] | |
| 2 | 2 | name = "rmptui" | |
| 3 | − | version = "0.1.0" | |
| 3 | + | authors = ["krolyxon"] | |
| 4 | + | version = "0.1.1" | |
| 4 | 5 | edition = "2021" | |
| 6 | + | repository = "https://github.com/krolyxon/rmptui" | |
| 7 | + | keywords = ["rmptui", "mpd", "music", "cli", "tui", "client"] | |
| 5 | 8 | ||
| 6 | 9 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
| 7 | 10 | ||
| @@ -31,7 +31,7 @@ impl<T> ContentList<T> { | |||
| 31 | 31 | self.index = 0; | |
| 32 | 32 | } | |
| 33 | 33 | ||
| 34 | − | /// Returns the self.list[index] item | |
| 34 | + | /// Returns the self.list[self.index] item | |
| 35 | 35 | pub fn get_item_at_current_index(&mut self) -> &T { | |
| 36 | 36 | self.list.get(self.index).unwrap() | |
| 37 | 37 | } | |