diff --git a/Cargo.lock b/Cargo.lock index 3091635..8716cc9 100755 --- a/Cargo.lock +++ b/Cargo.lock @@ -282,7 +282,7 @@ dependencies = [ [[package]] name = "rmptui" -version = "0.1.0" +version = "0.1.1" dependencies = [ "crossterm", "mpd", diff --git a/Cargo.toml b/Cargo.toml index 034cea9..66cd0e4 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,10 @@ [package] name = "rmptui" -version = "0.1.0" +authors = ["krolyxon"] +version = "0.1.1" edition = "2021" +repository = "https://github.com/krolyxon/rmptui" +keywords = ["rmptui", "mpd", "music", "cli", "tui", "client"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/list.rs b/src/list.rs index 8f4b38e..ec70f46 100755 --- a/src/list.rs +++ b/src/list.rs @@ -31,7 +31,7 @@ impl ContentList { self.index = 0; } - /// Returns the self.list[index] item + /// Returns the self.list[self.index] item pub fn get_item_at_current_index(&mut self) -> &T { self.list.get(self.index).unwrap() }