mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			351 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			351 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
#![crate_name = "foo"]
 | 
						|
 | 
						|
// @has foo/struct.Foo.html
 | 
						|
// @count - '//*[@class="docblock"]/div/table' 2
 | 
						|
// @!has - '//*[@class="docblock"]/table' ''
 | 
						|
/// | hello | hello2 |
 | 
						|
/// | ----- | ------ |
 | 
						|
/// | data  | data2  |
 | 
						|
pub struct Foo;
 | 
						|
 | 
						|
impl Foo {
 | 
						|
    /// | hello | hello2 |
 | 
						|
    /// | ----- | ------ |
 | 
						|
    /// | data  | data2  |
 | 
						|
    pub fn foo(&self) {}
 | 
						|
}
 |