Skip to content

Instantly share code, notes, and snippets.

Antonia Calia-Bogan Alfriadox

Block or report user

Report or block Alfriadox

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Alfriadox
Alfriadox / linked_list.rs
Created Jan 9, 2019 — forked from codesections/linked_list.rs
A simple linked list implemented in Rust
View linked_list.rs
#[derive(Debug)]
pub struct LinkedList {
head: Option<Box<Node>>,
tail: Option<*mut Node>,
}
#[derive(Debug)]
struct Node {
value: i32,
next: Option<Box<Node>>,
}
You can’t perform that action at this time.