Skip to content

Commit 38b65fe

Browse files
committed
fix wrong variable
1 parent 32ae0bb commit 38b65fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/migrate-v5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async::spawn(
8686
file::pick(...),
8787
[](Result<std::optional<std::filesystem::path>> result) { // note that this is not a pointer anymore!
8888
if (result.isOk()) {
89-
auto opt = path.unwrap();
89+
auto opt = result.unwrap();
9090
if (opt) {
9191
auto path = opt.value();
9292
} else {

0 commit comments

Comments
 (0)