This repository was archived by the owner on Mar 25, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 183
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: dtolnay/serde-yaml
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.9.13
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: dtolnay/serde-yaml
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.9.14
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 6 commits
- 6 files changed
- 1 contributor
Commits on Sep 15, 2022
-
To eliminate segfault on OOM (dtolnay/unsafe-libyaml#18)
Configuration menu - View commit details
-
Copy full SHA for 31fa98e - Browse repository at this point
Copy the full SHA 31fa98eView commit details
Commits on Oct 8, 2022
-
Ignore uninlined_format_args pedantic clippy lint
error: variables can be used directly in the `format!` string --> src/de.rs:999:24 | 999 | let negative = format!("-{}", rest); | ^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: `-D clippy::uninlined-format-args` implied by `-D clippy::pedantic` help: change this to | 999 - let negative = format!("-{}", rest); 999 + let negative = format!("-{rest}"); | error: variables can be used directly in the `format!` string --> src/de.rs:1013:24 | 1013 | let negative = format!("-{}", rest); | ^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 1013 - let negative = format!("-{}", rest); 1013 + let negative = format!("-{rest}"); | error: variables can be used directly in the `format!` string --> src/de.rs:1027:24 | 1027 | let negative = format!("-{}", rest); | ^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 1027 - let negative = format!("-{}", rest); 1027 + let negative = format!("-{rest}"); | error: variables can be used directly in the `format!` string --> src/de.rs:1043:24 | 1043 | let negative = format!("-{}", rest); | ^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 1043 - let negative = format!("-{}", rest); 1043 + let negative = format!("-{rest}"); | error: variables can be used directly in the `format!` string --> src/de.rs:1049:24 | 1049 | let negative = format!("-{}", rest); | ^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 1049 - let negative = format!("-{}", rest); 1049 + let negative = format!("-{rest}"); | error: variables can be used directly in the `format!` string --> src/de.rs:1055:24 | 1055 | let negative = format!("-{}", rest); | ^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 1055 - let negative = format!("-{}", rest); 1055 + let negative = format!("-{rest}"); | error: variables can be used directly in the `format!` string --> src/error.rs:210:21 | 210 | write!(f, "{}: ", path)?; | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 210 - write!(f, "{}: ", path)?; 210 + write!(f, "{path}: ")?; | error: variables can be used directly in the `format!` string --> src/error.rs:252:25 | 252 | write!(f, " at {}", mark)?; | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 252 - write!(f, " at {}", mark)?; 252 + write!(f, " at {mark}")?; | error: variables can be used directly in the `format!` string --> src/libyaml/cstr.rs:119:21 | 119 | write!(formatter, "\\x{:02x}", b)?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 119 - write!(formatter, "\\x{:02x}", b)?; 119 + write!(formatter, "\\x{b:02x}")?; | error: variables can be used directly in the `format!` string --> src/libyaml/error.rs:74:13 | 74 | write!(formatter, ", {}", context)?; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 74 - write!(formatter, ", {}", context)?; 74 + write!(formatter, ", {context}")?; | error: variables can be used directly in the `format!` string --> src/libyaml/error.rs:99:38 | 99 | formatter.field("kind", &format_args!("{}", kind)); | ^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 99 - formatter.field("kind", &format_args!("{}", kind)); 99 + formatter.field("kind", &format_args!("{kind}")); | error: variables can be used directly in the `format!` string --> src/mapping.rs:764:37 | 764 | Value::Bool(boolean) => write!(formatter, "with key `{}`", boolean), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 764 - Value::Bool(boolean) => write!(formatter, "with key `{}`", boolean), 764 + Value::Bool(boolean) => write!(formatter, "with key `{boolean}`"), | error: variables can be used directly in the `format!` string --> src/mapping.rs:765:38 | 765 | Value::Number(number) => write!(formatter, "with key {}", number), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 765 - Value::Number(number) => write!(formatter, "with key {}", number), 765 + Value::Number(number) => write!(formatter, "with key {number}"), | error: variables can be used directly in the `format!` string --> src/mapping.rs:766:38 | 766 | Value::String(string) => write!(formatter, "with key {:?}", string), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 766 - Value::String(string) => write!(formatter, "with key {:?}", string), 766 + Value::String(string) => write!(formatter, "with key {string:?}"), | error: variables can be used directly in the `format!` string --> src/path.rs:21:29 | 21 | path => write!(formatter, "{}.", path), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 21 - path => write!(formatter, "{}.", path), 21 + path => write!(formatter, "{path}."), | error: variables can be used directly in the `format!` string --> src/path.rs:28:44 | 28 | Path::Seq { parent, index } => write!(formatter, "{}[{}]", parent, index), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 28 - Path::Seq { parent, index } => write!(formatter, "{}[{}]", parent, index), 28 + Path::Seq { parent, index } => write!(formatter, "{parent}[{index}]"), | error: variables can be used directly in the `format!` string --> src/path.rs:29:42 | 29 | Path::Map { parent, key } => write!(formatter, "{}{}", Parent(parent), key), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 29 - Path::Map { parent, key } => write!(formatter, "{}{}", Parent(parent), key), 29 + Path::Map { parent, key } => write!(formatter, "{}{key}", Parent(parent)), | error: variables can be used directly in the `format!` string --> src/path.rs:30:39 | 30 | Path::Alias { parent } => write!(formatter, "{}", parent), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 30 - Path::Alias { parent } => write!(formatter, "{}", parent), 30 + Path::Alias { parent } => write!(formatter, "{parent}"), | error: variables can be used directly in the `format!` string --> src/value/debug.rs:9:37 | 9 | Value::Bool(boolean) => write!(formatter, "Bool({})", boolean), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 9 - Value::Bool(boolean) => write!(formatter, "Bool({})", boolean), 9 + Value::Bool(boolean) => write!(formatter, "Bool({boolean})"), | error: variables can be used directly in the `format!` string --> src/value/debug.rs:10:38 | 10 | Value::Number(number) => write!(formatter, "Number({})", number), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 10 - Value::Number(number) => write!(formatter, "Number({})", number), 10 + Value::Number(number) => write!(formatter, "Number({number})"), | error: variables can be used directly in the `format!` string --> src/value/debug.rs:11:38 | 11 | Value::String(string) => write!(formatter, "String({:?})", string), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 11 - Value::String(string) => write!(formatter, "String({:?})", string), 11 + Value::String(string) => write!(formatter, "String({string:?})"), | error: variables can be used directly in the `format!` string --> src/value/debug.rs:32:9 | 32 | write!(formatter, "Number({})", self) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 32 - write!(formatter, "Number({})", self) 32 + write!(formatter, "Number({self})") | error: variables can be used directly in the `format!` string --> src/value/index.rs:60:22 | 60 | _ => panic!("cannot access index {} of YAML {}", self, Type(v)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 60 - _ => panic!("cannot access index {} of YAML {}", self, Type(v)), 60 + _ => panic!("cannot access index {self} of YAML {}", Type(v)), | error: variables can be used directly in the `format!` string --> src/value/index.rs:107:18 | 107 | _ => panic!("cannot access key {:?} in YAML {}", index, Type(v)), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 107 - _ => panic!("cannot access key {:?} in YAML {}", index, Type(v)), 107 + _ => panic!("cannot access key {index:?} in YAML {}", Type(v)), | error: variables can be used directly in the `format!` string --> src/value/tagged.rs:372:36 | 372 | fmt::write(&mut check_for_tag, format_args!("{}", value)).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 372 - fmt::write(&mut check_for_tag, format_args!("{}", value)).unwrap(); 372 + fmt::write(&mut check_for_tag, format_args!("{value}")).unwrap(); | error: variables can be used directly in the `format!` string --> tests/test_value.rs:112:17 | 112 | let debug = format!("{:#?}", value); | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: `-D clippy::uninlined-format-args` implied by `-D clippy::pedantic` help: change this to | 112 - let debug = format!("{:#?}", value); 112 + let debug = format!("{value:#?}"); | error: variables can be used directly in the `format!` string --> tests/test_de.rs:427:18 | 427 | _ => panic!("expected number. input={:?}, result={:?}", yaml, value), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args = note: `-D clippy::uninlined-format-args` implied by `-D clippy::pedantic` help: change this to | 427 - _ => panic!("expected number. input={:?}, result={:?}", yaml, value), 427 + _ => panic!("expected number. input={yaml:?}, result={value:?}"), | error: variables can be used directly in the `format!` string --> tests/test_de.rs:440:18 | 440 | _ => panic!("expected string. input={:?}, result={:?}", yaml, value), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args help: change this to | 440 - _ => panic!("expected string. input={:?}, result={:?}", yaml, value), 440 + _ => panic!("expected string. input={yaml:?}, result={value:?}"), |
Configuration menu - View commit details
-
Copy full SHA for 516fdff - Browse repository at this point
Copy the full SHA 516fdffView commit details
Commits on Oct 21, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c5523fe - Browse repository at this point
Copy the full SHA c5523feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 371f764 - Browse repository at this point
Copy the full SHA 371f764View commit details -
Merge pull request #339 from dtolnay/deserializertaggedvalue
Implement Deserializer for TaggedValue and &TaggedValue
Configuration menu - View commit details
-
Copy full SHA for 8d95125 - Browse repository at this point
Copy the full SHA 8d95125View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8948d36 - Browse repository at this point
Copy the full SHA 8948d36View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.9.13...0.9.14