Closed goto-bus-stop closed 7 months ago
Just a little cleanup to make this read nicer...
Since Names implicitly deref to &str, hash the same, and can do equality comparisons, we can use the concrete type &str instead of specifying multiple generic trait bounds.
Name
&str
Just a little cleanup to make this read nicer...
Since
Name
s implicitly deref to&str
, hash the same, and can do equality comparisons, we can use the concrete type&str
instead of specifying multiple generic trait bounds.