mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-30 20:44:34 +00:00 
			
		
		
		
	 d7d7725b8c
			
		
	
	
		d7d7725b8c
		
			
		
	
	
	
	
		
			
			Escape "special characters" (e.g., double quotes `"` and line breaks `\n`). Escape HTML. Lastly, add regression tests and clean up existing tests.
		
			
				
	
	
		
			12 lines
		
	
	
		
			207 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			207 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #[unsafe(no_mangle)]
 | |
| pub fn no_mangle() {}
 | |
| 
 | |
| #[unsafe(link_section = ".here")]
 | |
| pub fn link_section() {}
 | |
| 
 | |
| #[unsafe(export_name = "exonym")]
 | |
| pub fn export_name() {}
 | |
| 
 | |
| #[non_exhaustive]
 | |
| pub struct NonExhaustive;
 |