17 lines
358 B
Rust
17 lines
358 B
Rust
use std::convert::AsRef;
|
|
pub struct Local;
|
|
|
|
// @has issue_82465_asref_for_and_of_local/struct.Local.html '//code' 'impl AsRef<str> for Local'
|
|
impl AsRef<str> for Local {
|
|
fn as_ref(&self) -> &str {
|
|
todo!()
|
|
}
|
|
}
|
|
|
|
// @has - '//code' 'impl AsRef<Local> for str'
|
|
impl AsRef<Local> for str {
|
|
fn as_ref(&self) -> &Local {
|
|
todo!()
|
|
}
|
|
}
|