mirror of https://github.com/zkat/miette.git
feat(protocol): Implement SourceCode for Arc<str> (and similar types) (#181)
This commit is contained in:
parent
629ae49ad5
commit
85da6a8407
|
|
@ -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