]> git.lizzy.rs Git - rust.git/blobdiff - src/libtest/options.rs
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / libtest / options.rs
index ec87b0fcd463b58ef2a4dccb2cddc8a8043d2730..8e7bd8de924993150917dd9ef7e041411d3b4138 100644 (file)
@@ -41,7 +41,7 @@ pub enum OutputFormat {
     Json,
 }
 
-/// Whether ignored test should be runned or not
+/// Whether ignored test should be run or not
 #[derive(Copy, Clone, Debug, PartialEq, Eq)]
 pub enum RunIgnored {
     Yes,
@@ -72,10 +72,7 @@ pub struct Options {
 
 impl Options {
     pub fn new() -> Options {
-        Options {
-            display_output: false,
-            panic_abort: false,
-        }
+        Options { display_output: false, panic_abort: false }
     }
 
     pub fn display_output(mut self, display_output: bool) -> Options {