Domain not in remote thumbnail source whitelist: www.rust-lang.org
from The Rust Programming Language Forum
Hello! I’m trying Rust. I implement doubly-linked list in order to get some practical skills. So… I have a structure represents a doubly-linked list, it’s ok. There are also Item structure and Iter structure. Let’s take a look at the code. type OptItem = Option>>; #[derive(Debug)] struct Item { value: T, prev: *mut Item, next: OptItem, } pub struct Iter<'a, C: 'a> { link: Option<&'a mut Item>, } So I’ve got an issue with moving an iterator. Let’s t...