mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			325 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			325 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
//@ check-pass
 | 
						|
//@ compile-flags:--test
 | 
						|
//@ normalize-stdout: "finished in \d+\.\d+s" -> "finished in $$TIME"
 | 
						|
 | 
						|
// This test ensures that no code block is detected in the doc comments.
 | 
						|
 | 
						|
pub mod Wormhole {
 | 
						|
    /** # Returns
 | 
						|
     *
 | 
						|
     */
 | 
						|
    pub fn foofoo() {}
 | 
						|
    /**
 | 
						|
     * # Returns
 | 
						|
     *
 | 
						|
     */
 | 
						|
    pub fn barbar() {}
 | 
						|
}
 |