We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
union
The "weak keyword" (see https://doc.rust-lang.org/reference/keywords.html#weak-keywords) union when used in the context of the function HashSet::union, sometimes receives erroneous highlighting.
HashSet::union
use std::collections::HashSet; fn main() { let set_a = HashSet::from([0, 1]); let set_b = HashSet::from([2, 3]); let set_c: HashSet<_> = set_a.union(&set_b).collect(); dbg!(set_c); let set_d: HashSet<_> = [set_a, set_b] .into_iter() .reduce(|acc, set| acc.union(&set).cloned().collect()) .unwrap(); dbg!(set_d); }
Observe that the two calls to HashSet::union are highlighted differently.
P.S. This issue was originally raised here: microsoft/vscode#141141
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The "weak keyword" (see https://doc.rust-lang.org/reference/keywords.html#weak-keywords)
union
when used in the context of the functionHashSet::union
, sometimes receives erroneous highlighting.Problematic code sample
Observe that the two calls to
HashSet::union
are highlighted differently.P.S. This issue was originally raised here: microsoft/vscode#141141
The text was updated successfully, but these errors were encountered: