cl-structures/intern: Fix doc comment
This commit is contained in:
parent
fb7de717d0
commit
12046fa9f7
@ -97,7 +97,7 @@ pub mod interned {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl<T: AsRef<str>> From<T> for Interned<'static, str> {
|
impl<T: AsRef<str>> From<T> for Interned<'static, str> {
|
||||||
/// Types which implement [AsRef<str>] will be stored in the global [StringInterner]
|
/// Types which implement [`AsRef<str>`] will be stored in the global [StringInterner]
|
||||||
fn from(value: T) -> Self {
|
fn from(value: T) -> Self {
|
||||||
from_str(value.as_ref())
|
from_str(value.as_ref())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user