You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: vec_walk_dir.rs
    path of file: ./repos/bevy_roguelike/vec_walk_dir/src
    
    the code of the file until where you have to start completion: use proc_macro2::TokenStream;
use quote::quote;
use walkdir::{DirEntry, WalkDir};

pub fn expand_vec_walk_dir(input: syn::LitStr) -> syn::Result<TokenStream> {
    let root = input.value();

    let mut intermediate = Vec::new();
    for path in WalkDir::new(root.clone())
        .into_iter()
        .filter_entry(|e| !is_hidden(e))
        .filter_map(|e| e.ok())
        .filter_map(|e| {
            if e.meta
    
pub fn expand_vec_walk_dir(input: syn::LitStr) -> syn::Result<TokenStream> {
    let root = input.value();

    let mut intermediate = Vec::new();
    for path in WalkDir::new(root.clone())
        .into_iter()
        .filter_entry(|e| !is_hidden(e))
        .filter_map(|e| e.ok())
        .filter_map(|e| {
            if e.metadata().map(|m| m.is_file()).unwrap_or(false) {
                Some(e.into_path())
            } else {
                None
            }
        })
    {
        if let Ok(path) = path.strip_prefix(root.clone()) {
            if let Some(str) = path.to_str() {
                let lit = proc_macro2::Literal::string(str);
                intermediate.push(quote! { v.push(#lit); });
            }
        }
    }
    let intermediate = intermediate.into_iter().collect::<TokenStream>();

    Ok(quote! {
        {
            let mut v = Vec::new();
            #intermediate
            v
        }
    })
}