Commit 2c22fc1
committed
macros: improve
The macro was previously relying on the library user not having any
other `Ok` symbol in scope that didn't align with the expected variant
in the standard library's `Result` type.
Now, a full path to the standard library's `Ok` variant is used instead,
which should protect the macro from compile errors that actually require
looking at the underlying implementation to solve.try_join macro hygiene1 parent 6752f50 commit 2c22fc1
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments