Crates.io | rt-lists |
lib.rs | rt-lists |
version | 0.1.2 |
source | src |
created_at | 2024-10-11 08:46:56.933709 |
updated_at | 2024-10-14 06:07:50.389442 |
description | Link lib |
homepage | |
repository | |
max_upload_size | |
id | 1405066 |
size | 9,157 |
简单链表实现
[dependencies]
rt-lists = "0.1"
use rt_lists::third::List;
let mut list = List::new();
list.push(1);
list.push(2);
assert_eq!(list.pop(), Some(2));