Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Commit

Permalink
fix: fix some typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jk-gan committed Jun 21, 2020
1 parent 6748ae8 commit 435f070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/error/error_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl fmt::Display for InternalError {
}

impl ObsidianError {
pub fn into_error_response(&self) -> Response {
pub fn into_error_response(self) -> Response {
self.inner.into_error_response()
}
}
Expand Down
1 change: 1 addition & 0 deletions src/router/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use async_std::fs;
use http::StatusCode;
use hyper::{header, Body};
use serde::ser::Serialize;
use std::fmt::Debug;

#[derive(Debug)]
pub struct Response {
Expand Down

0 comments on commit 435f070

Please sign in to comment.