Add links to examples

This commit is contained in:
Stjepan Glavina 2016-11-14 21:29:46 +01:00
parent 7594bde74a
commit b685bd7d63
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@
//!
//! As a rule of thumb, if building a data structure using `Rc` and `RefCell` gets too messy or
//! costly, `Arena` might be a better choice.
//!
//! # Examples
//!
//! * [Doubly linked list](https://github.com/stjepang/vec-arena/blob/master/examples/linked_list.rs)
//! * [Splay tree](https://github.com/stjepang/vec-arena/blob/master/examples/splay_tree.rs)
use std::iter;
use std::mem;