Every so often rust-analyzer in VS Code doesn’t use the latest code after a cargo update
and the only way I’ve found to fix it is a cargo clean
. This means that I have to wait 5 minutes for the next build, painful. Just because of one project update. I would LOVE a faster build.
Extra info: the updates come from my dependencies that utilize my private repositories via a git = "[path]"
. The rust-analyzer is pulling from a cache or older version for some reason and I don’t know where it is or why.
How does it handle multiple potential outcomes? Example:
unformat!("a {} b {} c", "a x b b y c")
Would it returnSome(("x b", "y"))
orSome(("x", "b y"))
?