mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 22:01:18 +00:00
[ty] fix a typo (#19621)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
656273bf3d
commit
f7c6a6b2d0
1 changed files with 2 additions and 2 deletions
|
@ -10905,8 +10905,8 @@ fn contains_string_literal(expr: &ast::Expr) -> bool {
|
||||||
|
|
||||||
/// Map based on a `Vec`. It doesn't enforce
|
/// Map based on a `Vec`. It doesn't enforce
|
||||||
/// uniqueness on insertion. Instead, it relies on the caller
|
/// uniqueness on insertion. Instead, it relies on the caller
|
||||||
/// that elements are uniuqe. For example, the way we visit definitions
|
/// that elements are unique. For example, the way we visit definitions
|
||||||
/// in the `TypeInference` builder make already implicitly guarantees that each definition
|
/// in the `TypeInference` builder already implicitly guarantees that each definition
|
||||||
/// is only visited once.
|
/// is only visited once.
|
||||||
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
struct VecMap<K, V>(Vec<(K, V)>);
|
struct VecMap<K, V>(Vec<(K, V)>);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue