[`flake8-comprehensions`] Fix typo in `C416` documentation (#21184)

## Summary

Adds missing curly brace to the C416 documentation.

## Test Plan

Build the docs
This commit is contained in:
Tom Kuson 2025-11-03 19:04:59 +00:00 committed by GitHub
parent 21ec8aa7d4
commit 78ee7ae925
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ use crate::rules::flake8_comprehensions::fixes;
/// >>> {x: y for x, y in d1} # Iterates over the keys of a mapping
/// {1: 2, 4: 5}
/// >>> dict(d1) # Ruff's incorrect suggested fix
/// (1, 2): 3, (4, 5): 6}
/// {(1, 2): 3, (4, 5): 6}
/// >>> dict(d1.keys()) # Correct fix
/// {1: 2, 4: 5}
/// ```