<commit_before>#![feature(macro_rules)]
extern crate groupable;

use std::collections::{HashMap, TreeMap, VecMap, TrieMap};
use groupable::Groupable;

static XS : &'static [char] = ['h', 'b', 'i', 'y', '!', 'e'];

macro_rules! test_string (
    ($t:ty) => (
        {
            let map = XS.iter().enumerate()
                           .map(|(i, &c)| (i % 2, c))
                           .group::<$t>();<commit_msg>[T,.. N] no longer coerces to &[T]<commit_after>#![feature(macro_rules)]
extern crate groupable;

use std::collections::{HashMap, TreeMap, VecMap, TrieMap};
use groupable::Groupable;

static XS : &'static [char] = &['h', 'b', 'i', 'y', '!', 'e'];

macro_rules! test_string (
    ($t:ty) => (
        {
            let map = XS.iter().enumerate()
                           .map(|(i, &c)| (i % 2, c))
                           .group::<$t>();
{'fraction_non_alphanumeric': 0.21693735498839908, 'fraction_numerical': 0.002320185614849188, 'mean_word_length': 2.332046332046332, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6404695', 'n_tokens_mistral': 310, 'n_tokens_neox': 308, 'n_words': 69}