Skip to content

Commit f60415b

Browse files
committed
Merge pull request #46 from akiss77/pr-ascii-reform
Keep up with the std::ascii reform.
2 parents 4517ee6 + 71f1c67 commit f60415b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ffi/easy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ impl ResponseBuilder {
150150
fn add_header(&mut self, name: &str, val: &str) {
151151
// TODO: Reduce allocations
152152
use std::ascii::OwnedAsciiExt;
153-
let name = name.to_string().into_ascii_lower();
153+
let name = name.to_string().into_ascii_lowercase();
154154

155155
let inserted = match self.hdrs.get_mut(&name) {
156156
Some(vals) => {

0 commit comments

Comments
 (0)