Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does attributes_to_crop has a different prototype than attributes_to_highlight #276

Open
bidoubiwa opened this issue Apr 26, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@bidoubiwa
Copy link
Contributor

attributes_to_crop and attributes_to_highlight have the same type as per the documentation

pub attributes_to_crop: Option<Selectors<&'a [AttributeToCrop<'a>]>>,

and here

pub attributes_to_highlight: Option<Selectors<&'a [&'a str]>>,

I was wondering if there was another reason why these two attributes have different types?

@bidoubiwa bidoubiwa added the help wanted Extra attention is needed label Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants