Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

armanriazi•rust•error•E0615•attempted to take value of method `collect` on type

//Resolve   .collect::<Vec<_>>(),
        input_iter
                .next()
                .unwrap()
                .split(' ')
                .filter(|x| *x != "")
                .collect, //Error
 
PREVIOUS NEXT
Tagged: #method #type
ADD COMMENT
Topic
Name
6+7 =