Skip to content

Commit 69a42cf

Browse files
committed
Use Error::to_string() instead of description()
1 parent a4f0c4a commit 69a42cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ mod tests {
151151
-> Result<Response, Box<dyn Error+Send>>
152152
{
153153
res.or_else(|e| {
154-
let e = e.description().to_string();
154+
let e = e.to_string();
155155
Ok(Response {
156156
status: (500, "Internal Server Error"),
157157
headers: HashMap::new(),

0 commit comments

Comments
 (0)