2021-05-03 09:06:57 -05:00
|
|
|
use std::convert::AsRef;
|
|
|
|
pub struct Local;
|
|
|
|
|
2022-09-25 15:52:26 -05:00
|
|
|
// @has issue_82465_asref_for_and_of_local/struct.Local.html '//h3[@class="code-header"]' 'impl AsRef<str> for Local'
|
2021-05-03 09:06:57 -05:00
|
|
|
impl AsRef<str> for Local {
|
|
|
|
fn as_ref(&self) -> &str {
|
|
|
|
todo!()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-09-25 15:52:26 -05:00
|
|
|
// @has - '//h3[@class="code-header"]' 'impl AsRef<Local> for str'
|
2021-05-03 09:06:57 -05:00
|
|
|
impl AsRef<Local> for str {
|
|
|
|
fn as_ref(&self) -> &Local {
|
|
|
|
todo!()
|
|
|
|
}
|
|
|
|
}
|