projects
/
rust-101.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clarified vector endianness for Exercise 05.1.
[rust-101.git]
/
solutions
/
src
/
list.rs
diff --git
a/solutions/src/list.rs
b/solutions/src/list.rs
index 5137555af65eb4ea3797c29e069382631a2606ab..3206982e9de23650084d534107467474105dfad0 100644
(file)
--- a/
solutions/src/list.rs
+++ b/
solutions/src/list.rs
@@
-101,7
+101,7
@@
impl<T> LinkedList<T> {
}
}
- pub fn iter_mut(&self) -> IterMut<T> {
+ pub fn iter_mut(&
mut
self) -> IterMut<T> {
IterMut { next: self.first, _marker: PhantomData }
}
}