 760d0a3100
			
		
	
	
		760d0a3100
		
			
		
	
	
	
	
		
			
			# Objective - Minor consistency improvement in proc macro code. - Remove `get_path_direct` since it was only used once anyways and doesn't add much. ## Solution - Possibly a minor performance improvement since the `Cargo.toml` wont be parsed as often. ## Testing - I don't think it breaks anything. - This is my first time working on bevy itself. Is there a script to do a quick verify of my pr? ## Other PR Similar to #7536 but has no extra dependencies. Co-authored-by: François Mockers <mockersf@gmail.com>
		
			
				
	
	
		
			8 lines
		
	
	
		
			203 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			203 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| use bevy_macro_utils::BevyManifest;
 | |
| use syn::Path;
 | |
| 
 | |
| /// Returns the correct path for `bevy_reflect`.
 | |
| pub(crate) fn get_bevy_reflect_path() -> Path {
 | |
|     BevyManifest::shared().get_path("bevy_reflect")
 | |
| }
 |