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.
1 parent d5243e3 commit c013f2aCopy full SHA for c013f2a
src/tools/rustdoc-js/tester.js
@@ -203,6 +203,10 @@ function betterLookingDiff(entry, data) {
203
if (!entry.hasOwnProperty(key)) {
204
continue;
205
}
206
+ if (!data || !data.hasOwnProperty(key)) {
207
+ output += '-' + spaces + contentToDiffLine(key, entry[key]) + '\n';
208
+ continue;
209
+ }
210
let value = data[key];
211
if (value !== entry[key]) {
212
output += '-' + spaces + contentToDiffLine(key, entry[key]) + '\n';
0 commit comments