# Objective - Fixes #5817. - Removes std::vec::Vec ambiguities in derive_bundle macro ## Solution Prepend :: to standard library full Vec qualified type name (::std::vec::Vec)
This commit is contained in:
		
							parent
							
								
									5597fc54d2
								
							
						
					
					
						commit
						46f68161f7
					
				@ -149,8 +149,8 @@ pub fn derive_bundle(input: TokenStream) -> TokenStream {
 | 
			
		||||
            fn component_ids(
 | 
			
		||||
                components: &mut #ecs_path::component::Components,
 | 
			
		||||
                storages: &mut #ecs_path::storage::Storages,
 | 
			
		||||
            ) -> Vec<#ecs_path::component::ComponentId> {
 | 
			
		||||
                let mut component_ids = Vec::with_capacity(#field_len);
 | 
			
		||||
            ) -> ::std::vec::Vec<#ecs_path::component::ComponentId> {
 | 
			
		||||
                let mut component_ids = ::std::vec::Vec::with_capacity(#field_len);
 | 
			
		||||
                #(#field_component_ids)*
 | 
			
		||||
                component_ids
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user