308: tweak canceled message r=matklad a=matklad



Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2018-12-21 08:09:36 +00:00
commit f897de5b78
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
impl std::fmt::Display for Canceled {
fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
fmt.write_str("Canceled")
fmt.write_str("canceled")
}
}

View File

@ -387,7 +387,7 @@ fn on<'b, R>(
RawResponse::err(
id,
ErrorCode::ContentModified as i32,
e.to_string(),
format!("content modified: {}", e),
)
} else {
RawResponse::err(