Commit 6359de1
committed
Link lifetime of closure param to that of
This informs callers that the lifetime of the reference to the
underlying `PlaceBase` is the same as that of the `Place` being iterated
over. This lets callers return a reference to the underlying `PlaceBase`
from the closure passed to `Place::iterate`.self in Place::iterate
1 parent 0764641 commit 6359de1
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1915 | 1915 | | |
1916 | 1916 | | |
1917 | 1917 | | |
1918 | | - | |
1919 | | - | |
1920 | | - | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
1921 | 1921 | | |
1922 | 1922 | | |
1923 | 1923 | | |
1924 | 1924 | | |
1925 | | - | |
1926 | | - | |
| 1925 | + | |
| 1926 | + | |
1927 | 1927 | | |
1928 | | - | |
| 1928 | + | |
1929 | 1929 | | |
1930 | 1930 | | |
1931 | 1931 | | |
| |||
0 commit comments