Closed
Description
rust-analyzer v0.3.2282
rustc 1.83.0 (90b35a623 2024-11-26)
vscode version 1.94
no custom relevant settings, all vscode config is default.
my code as follows:
// Cannot recognize join, and there are no type hints for vals, but rust-analyzer v0.3.2273 is normal.
let vals = [“xxx”,"yyy"].iter().map(|v| v.to_string()).collect::<Vec<_>>().join(",");
// Formating not work
async fn fx() {
let res = async {
// here is my code, but formating not work
}.await;
}
// if do this, formating is ok
async fn fx() {
let res = async {
// here is my code, formating work
};
res.awiat;
}