mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-10-31 04:57:19 +00:00 
			
		
		
		
	 57ca36861d
			
		
	
	
		57ca36861d
		
	
	
	
	
		
			
			The ordering in item tables was flipped in 3030cbea957adbd560bf2eaa34c1b8a56daee16a, making it inconsistent with the ordering in method signatures. Compare these:c8e6a9e8b6/src/librustdoc/html/render/print_item.rs (L455-L459)c8e6a9e8b6/src/librustdoc/html/format.rs (L903-L908)
		
			
				
	
	
		
			17 lines
		
	
	
		
			307 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			307 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
| #![crate_name = "foo"]
 | |
| 
 | |
| pub mod sub {
 | |
|     pub struct Item;
 | |
| 
 | |
|     pub mod prelude {
 | |
|         pub use super::Item;
 | |
|     }
 | |
| }
 | |
| 
 | |
| #[doc(inline)]
 | |
| pub use sub::*;
 | |
| 
 | |
| // @count foo/index.html '//a[@class="mod"][@title="mod foo::prelude"]' 1
 | |
| // @count foo/prelude/index.html '//div[@class="item-row"]' 0
 | |
| pub mod prelude {}
 |