mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 21:16:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			266 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			266 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| // This test ensures that `--` (double-hyphen) is correctly converted into `–` (dash).
 | ||
| 
 | ||
| #![crate_name = "foo"]
 | ||
| 
 | ||
| // @has 'foo/index.html' '//*[@class="desc docblock-short"]' '–'
 | ||
| // @has 'foo/struct.Bar.html' '//*[@class="docblock"]' '–'
 | ||
| 
 | ||
| /// --
 | ||
| pub struct Bar;
 | 
