Explicitly borrow slices
Merge pull request #153 from oakes/master

Fix TreeView example