mirror of
				https://github.com/rust-lang/rust.git
				synced 2025-11-04 06:56:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			292 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			292 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
#![crate_name = "foo"]
 | 
						|
 | 
						|
pub trait Foo<T> {}
 | 
						|
 | 
						|
pub struct Bar;
 | 
						|
 | 
						|
pub struct Baz;
 | 
						|
 | 
						|
// @has foo/trait.Foo.html '//h3[@class="code-header"]' 'impl Foo<i32> for Bar'
 | 
						|
impl Foo<i32> for Bar {}
 | 
						|
 | 
						|
// @has foo/trait.Foo.html '//h3[@class="code-header"]' 'impl<T> Foo<T> for Baz'
 | 
						|
impl<T> Foo<T> for Baz {}
 |