We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1efdda1 + 3c67873 commit 9b79370Copy full SHA for 9b79370
src/libtest/Cargo.toml
@@ -2,6 +2,7 @@
2
authors = ["The Rust Project Developers"]
3
name = "test"
4
version = "0.0.0"
5
+edition = "2018"
6
7
[lib]
8
src/libtest/formatters/json.rs
@@ -145,7 +145,7 @@ impl<T: Write> OutputFormatter for JsonFormatter<T> {
145
struct EscapedString<S: AsRef<str>>(S);
146
147
impl<S: AsRef<str>> ::std::fmt::Display for EscapedString<S> {
148
- fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
+ fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
149
let mut start = 0;
150
151
for (i, byte) in self.0.as_ref().bytes().enumerate() {
0 commit comments