1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

update redis example to v0.22

This commit is contained in:
Rob Ede
2022-10-16 19:14:40 +01:00
parent 99d0afde28
commit fa323545e9
4 changed files with 87 additions and 215 deletions

View File

@ -231,7 +231,7 @@ where
slice
.iter()
.enumerate()
.map(|(idx, item)| Edge::new(start + idx, (map_to)(*item))),
.map(|(idx, item)| Edge::new(start + idx, (map_to)(item))),
);
Ok::<_, Error>(connection)