update Cargo.toml > v0.1.1
This commit is contained in:
parent
aca208e0d8
commit
4015a7e2a4
|
|
@ -282,7 +282,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "rmptui"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
dependencies = [
|
||||
"crossterm",
|
||||
"mpd",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ impl<T> ContentList<T> {
|
|||
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()
|
||||
}
|
||||
|
|
|
|||
Reference in New Issue