We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32ae0bb commit 38b65feCopy full SHA for 38b65fe
tutorials/migrate-v5.md
@@ -86,7 +86,7 @@ async::spawn(
86
file::pick(...),
87
[](Result<std::optional<std::filesystem::path>> result) { // note that this is not a pointer anymore!
88
if (result.isOk()) {
89
- auto opt = path.unwrap();
+ auto opt = result.unwrap();
90
if (opt) {
91
auto path = opt.value();
92
} else {
0 commit comments