Skip to content

Instantly share code, notes, and snippets.

Zoxc

Block or report user

Report or block Zoxc

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
@bgamari
bgamari / linked_list.rs
Last active Jul 16, 2017
An intrusive linked-list implementation in Rust
View linked_list.rs
/*!
* Intrusive singly linked lists
*/
use std::option::{Option, Some, None};
use std::cell::{Cell};
#[deriving(Show)]
pub struct ListCell<'a, T>(Cell<Option<&'a T>>);
You can’t perform that action at this time.