Skip to content

Commit

Permalink
update to 2021 edition
Browse files Browse the repository at this point in the history
  • Loading branch information
antonok-edm committed Jul 22, 2023
1 parent 95e2c93 commit 83d0df0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "adblock"
version = "0.7.16"
authors = ["Andrius Aucinas <[email protected]>", "Anton Lazarev <[email protected]>"]
edition = "2018"
edition = "2021"

description = "Native Rust module for Adblock Plus syntax (e.g. EasyList, EasyPrivacy) filter parsing and matching."
repository = "https://github.com/brave/adblock-rust/"
Expand Down
1 change: 0 additions & 1 deletion src/lists.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ impl FilterSet {
/// This function will fail if the `FilterSet` was not created in debug mode.
#[cfg(feature = "content-blocking")]
pub fn into_content_blocking(self) -> Result<(Vec<crate::content_blocking::CbRule>, Vec<String>), ()> {
use std::convert::TryInto;
use crate::content_blocking;

if !self.debug {
Expand Down

0 comments on commit 83d0df0

Please sign in to comment.