We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6e93c4 commit 4ac82d3Copy full SHA for 4ac82d3
src/ip2location/db.rs
@@ -188,10 +188,7 @@ impl LocationDB {
188
if (self.db_year <= 20 && self.product_code == 0) || self.product_code == 1 {
189
Ok(())
190
} else {
191
- Err(Error::InvalidBinDatabase(
192
- self.db_year,
193
- self.product_code,
194
- ))
+ Err(Error::InvalidBinDatabase(self.db_year, self.product_code))
195
}
196
197
src/ip2proxy/db.rs
@@ -176,10 +176,7 @@ impl ProxyDB {
176
if (self.db_year <= 20 && self.product_code == 0) || self.product_code == 2 {
177
178
179
180
181
182
183
184
185
0 commit comments