mirror of https://github.com/zkat/miette.git
Implement SourceCode for Arc<str> (and similar types)
This commit is contained in:
parent
629ae49ad5
commit
35ae39c818
|
|
@ -158,7 +158,7 @@ impl SourceCode for String {
|
|||
}
|
||||
}
|
||||
|
||||
impl<T: SourceCode> SourceCode for Arc<T> {
|
||||
impl<T: ?Sized + SourceCode> SourceCode for Arc<T> {
|
||||
fn read_span<'a>(
|
||||
&'a self,
|
||||
span: &SourceSpan,
|
||||
|
|
|
|||
Loading…
Reference in New Issue