Fixup formatting

This commit is contained in:
Johannes Altmanninger 2024-01-27 18:08:02 +01:00
parent 37c380d885
commit 9a1226684e

View file

@ -5124,8 +5124,7 @@ impl ReaderData {
fn try_insert(&mut self, c: &Completion, tok: &wstr, token_range: Range<usize>) {
// If this is a replacement completion, check that we know how to replace it, e.g. that
// the token doesn't contain evil operators like {}.
if !c.flags.contains(CompleteFlags::REPLACES_TOKEN) || reader_can_replace(tok, c.flags)
{
if !c.flags.contains(CompleteFlags::REPLACES_TOKEN) || reader_can_replace(tok, c.flags) {
self.completion_insert(&c.completion, token_range.end, c.flags);
}
}