update for rust 0.6