@@ -58,17 +58,17 @@ pub struct Config {
58
58
/// Each warning is specified by its name, which is one of:
59
59
///
60
60
/// * `self-wakes` -- Warns when a task wakes itself more than a certain percentage of its total wakeups.
61
- /// Default percentage is 50%.
61
+ /// Default percentage is 50%.
62
62
///
63
63
/// * `lost-waker` -- Warns when a task is dropped without being woken.
64
64
///
65
65
/// * `never-yielded` -- Warns when a task has never yielded.
66
66
///
67
67
/// * `auto-boxed-future` -- Warnings when the future driving a task was automatically boxed by
68
- /// the runtime because it was large.
68
+ /// the runtime because it was large.
69
69
///
70
70
/// * `large-future` -- Warnings when the future driving a task occupies a large amount of
71
- /// stack space.
71
+ /// stack space.
72
72
#[ clap( long = "warn" , short = 'W' , value_delimiter = ',' , num_args = 1 ..) ]
73
73
#[ clap( default_values_t = KnownWarnings :: default_enabled_warnings( ) ) ]
74
74
pub ( crate ) warnings : Vec < KnownWarnings > ,
@@ -80,17 +80,17 @@ pub struct Config {
80
80
/// Each warning is specified by its name, which is one of:
81
81
///
82
82
/// * `self-wakes` -- Warns when a task wakes itself more than a certain percentage of its total wakeups.
83
- /// Default percentage is 50%.
83
+ /// Default percentage is 50%.
84
84
///
85
85
/// * `lost-waker` -- Warns when a task is dropped without being woken.
86
86
///
87
87
/// * `never-yielded` -- Warns when a task has never yielded.
88
88
///
89
89
/// * `auto-boxed-future` -- Warnings when the future driving a task was automatically boxed by
90
- /// the runtime because it was large.
90
+ /// the runtime because it was large.
91
91
///
92
92
/// * `large-future` -- Warnings when the future driving a task occupies a large amount of
93
- /// stack space.
93
+ /// stack space.
94
94
///
95
95
/// If this is set to `all`, all warnings are allowed.
96
96
///
0 commit comments