undef1nd / sfv

Structured HTTP field values parsing and serialization. Implementation of RFC 8941 https://httpwg.org/specs/rfc8941.html
Apache License 2.0
25 stars 6 forks source link

Fix one instance of push_str for a single char #89

Closed LPardue closed 2 years ago

LPardue commented 2 years ago

Clippy has the lint https://rust-lang.github.io/rust-clippy/master/index.html#single_char_add_str

There was one instance where push_str() was used to add a single SP char. Other similar code used push. This change switches to push(), which makes things consistent, and little Mr. Clippy happy.

undef1nd commented 2 years ago

👍 Thank you!