mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-03 05:54:33 +00:00
Follow clippy warnings
This commit is contained in:
parent
9783813ae0
commit
d956c3f61d
34 changed files with 448 additions and 450 deletions
|
@ -118,7 +118,7 @@ impl ErrorDisplay for CompileError {
|
|||
fn caused_by(&self) -> &str {
|
||||
&self.caused_by
|
||||
}
|
||||
fn ref_inner(&self) -> Option<&Box<Self>> {
|
||||
fn ref_inner(&self) -> Option<&Self> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
@ -245,7 +245,7 @@ impl ErrorDisplay for TyCheckError {
|
|||
fn caused_by(&self) -> &str {
|
||||
&self.caused_by
|
||||
}
|
||||
fn ref_inner(&self) -> Option<&Box<Self>> {
|
||||
fn ref_inner(&self) -> Option<&Self> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue