Commit 743cfdf
committed
nexus: add type annotations for tests using IpNet
maghemite #533 adds impl PartialEq<rdb_types::Prefix> for oxnet::IpNet,
which caused some preexisting type inferences to no longer be resolved
unambiguously (now there are multiple PartialEq<T> for oxnet::IpNet).
This updates these spots to be explicit about the types being compared.
Signed-off-by: Trey Aspelund <[email protected]>1 parent cb2551d commit 743cfdf
File tree
2 files changed
+9
-8
lines changed- nexus
- db-queries/src/db/datastore
- tests/integration_tests
2 files changed
+9
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3905 | 3905 | | |
3906 | 3906 | | |
3907 | 3907 | | |
3908 | | - | |
| 3908 | + | |
3909 | 3909 | | |
3910 | 3910 | | |
3911 | | - | |
| 3911 | + | |
3912 | 3912 | | |
3913 | 3913 | | |
3914 | 3914 | | |
3915 | 3915 | | |
3916 | 3916 | | |
3917 | 3917 | | |
3918 | 3918 | | |
3919 | | - | |
| 3919 | + | |
3920 | 3920 | | |
3921 | 3921 | | |
3922 | | - | |
| 3922 | + | |
3923 | 3923 | | |
3924 | 3924 | | |
3925 | 3925 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
232 | | - | |
| 233 | + | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
236 | | - | |
| 237 | + | |
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
| |||
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
274 | | - | |
| 275 | + | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
278 | | - | |
| 279 | + | |
279 | 280 | | |
280 | 281 | | |
281 | 282 | | |
| |||
0 commit comments