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 61d71b2 commit 8ced73fCopy full SHA for 8ced73f
src/leetcode_api/execution.rs
@@ -120,7 +120,7 @@ impl std::fmt::Display for Success {
120
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
121
let seperator = "-------------------------------";
122
let part1 = format!(
123
- "{}\n\nOutput : {:?}\nExpected : {:?}\n",
+ "{}\n\n",
124
if self.correct_answer {
125
"Testcase execution success".green().bold()
126
} else {
@@ -130,9 +130,7 @@ impl std::fmt::Display for Success {
130
)
131
.red()
132
.bold()
133
- },
134
- self.code_answer,
135
- self.expected_code_answer
+ }
136
);
137
let mut part2 = Vec::with_capacity(self.code_answer.len());
138
for i in 0..self.code_answer.len() {
0 commit comments