From 4015a7e2a4f690ba879f119f22444752ad764298 Mon Sep 17 00:00:00 2001 From: krolxon Date: Mon, 13 May 2024 15:27:51 +0530 Subject: update Cargo.toml > v0.1.1 --- src/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() } -- cgit v1.2.3