fix deprecated warning
This commit is contained in:
parent
91b65c72c3
commit
be9a8552fa
@ -199,7 +199,7 @@ impl fmt::Display for SynthesisError {
|
||||
write!(f, "I/O error: ")?;
|
||||
e.fmt(f)
|
||||
} else {
|
||||
write!(f, "{}", self.description())
|
||||
write!(f, "{}", self.to_string())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -310,7 +310,7 @@ impl fmt::Display for GroupDecodingError {
|
||||
GroupDecodingError::CoordinateDecodingError(description, ref err) => {
|
||||
write!(f, "{} decoding error: {}", description, err)
|
||||
}
|
||||
_ => write!(f, "{}", self.description()),
|
||||
_ => write!(f, "{}", self.to_string()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user