mirror of https://github.com/rust-lang/rust.git
14 lines
305 B
Rust
14 lines
305 B
Rust
#![crate_name = "foo"]
|
|
|
|
//@ has foo/struct.SomeStruct.html '//*[@class="sidebar-elems"]//section//li/a[@href="#method.some_fn-1"]' \
|
|
// "some_fn"
|
|
pub struct SomeStruct<T> { _inner: T }
|
|
|
|
impl SomeStruct<()> {
|
|
pub fn some_fn(&self) {}
|
|
}
|
|
|
|
impl SomeStruct<usize> {
|
|
pub fn some_fn(&self) {}
|
|
}
|