Commit c84242f1 authored by NOEL Philippe's avatar NOEL Philippe

Change &Vec[] to &[]

parent 324819b0
......@@ -99,7 +99,7 @@ pub fn parse_select(pattern: &str) -> Option<Vec<Select>> {
Some(lst_selection)
}
pub fn atom_match(sel: &Vec<Select>, chain: char, res_id: u64, is_back: bool) -> bool {
pub fn atom_match(sel: &[Select], chain: char, res_id: u64, is_back: bool) -> bool {
// For each pattern in sel, the pattern is compare to the caracteristics of the atom
// if at any moment, the caracteristics are not ok, the function return false
// In the end, it return true (consider everythings is ok)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment