send_str to send_string

This commit is contained in:
Martin Algesten
2018-06-22 10:13:31 +02:00
parent 293733643c
commit 5f975270bf
5 changed files with 9 additions and 10 deletions

View File

@@ -136,7 +136,7 @@ impl Response {
/// Tells if this response is "synthetic".
///
/// The [methods](struct.Request.html#method.call) [firing](struct.Request.html#method.send)
/// [off](struct.Request.html#method.send_str) [requests](struct.Request.html#method.send_json)
/// [off](struct.Request.html#method.send_string) [requests](struct.Request.html#method.send_json)
/// all return a `Response`; there is no rust style `Result`.
///
/// Rather than exposing a custom error type through results, this library has opted