mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	 86304f5149
			
		
	
	
		86304f5149
		
			
		
	
	
	
	
		
			
			Prefer doc comments over `//`-comments in compiler Doc comments are generally nicer: they show up in the documentation, they are shown in IDEs when you hover other mentions of items, etc. Thus it makes sense to use them instead of `//`-comments.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.