Apply suggestions from code review
Co-authored-by: Victoria Brekenfeld <4404502+Drakulix@users.noreply.github.com>
This commit is contained in:
parent
5482ff65e5
commit
bd95340992
2 changed files with 9 additions and 3 deletions
|
|
@ -61,7 +61,10 @@ pub struct TilingExceptions {
|
|||
}
|
||||
|
||||
impl TilingExceptions {
|
||||
pub fn new(exceptions_config: &Vec<ApplicationException>) -> Self {
|
||||
pub fn new<'a, I>(exceptions_config: I) -> Self
|
||||
where
|
||||
I: Iterator<Item=&'a ApplicationException>
|
||||
{
|
||||
let mut app_ids = Vec::new();
|
||||
let mut titles = Vec::new();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue