1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-08-31 11:26:59 +02:00

update httpauth readme

This commit is contained in:
Rob Ede
2020-09-28 02:04:18 +01:00
parent d14e188246
commit 33dfea8997
4 changed files with 30 additions and 23 deletions

View File

@@ -96,7 +96,7 @@ impl fmt::Display for Basic {
let bytes = self.to_bytes();
let repr = str::from_utf8(&bytes)
// Should not happen since challenges are crafted manually
// from `&'static str`'s and Strings
// from a `&'static str` or `String`
.map_err(|_| fmt::Error)?;
f.write_str(repr)