(param0: &Value)
| 742 | // ) -> handlebars::HelperResult { |
| 743 | // let value = h.param(0).ok_or_else(|| RenderError::new("Param not found for helper \"each\""))?; |
| 744 | // let j_path = h.get_param_as_str(1).unwrap_or(""); |
| 745 | |
| 746 | // let template = h.template(); |
| 747 | |
| 748 | // match template { |
| 749 | // Some(t) => match *value.value() { |
| 750 | // Value::Array(ref list) if !list.is_empty() || (list.is_empty() && h.inverse().is_none()) => { |
| 751 | // let mut to_sort = list.clone(); |
| 752 | |
| 753 | // to_sort.sort_by(|a, b| { |
no test coverage detected