Skip to content

Commit a4f05c6

Browse files
committed
bootstrap: add doc-comments for Severity
Signed-off-by: onur-ozkan <[email protected]>
1 parent de2bc42 commit a4f05c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/bootstrap/src/lib.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,10 @@ pub struct ConfigChange {
8181

8282
#[derive(Clone, Debug)]
8383
pub enum Severity {
84+
/// Used when upstream bootstrap configurations continue working as before.
8485
Info,
86+
/// Used when upstream bootstrap configurations change, and it may
87+
/// require developers to update their build configuration.
8588
Warning,
8689
}
8790

@@ -96,7 +99,6 @@ impl ToString for Severity {
9699

97100
/// Keeps track of major changes made to the bootstrap configuration.
98101
///
99-
///
100102
/// If you make any major changes (such as adding new values or changing default values),
101103
/// please ensure adding `ConfigChange` to the end(because the list must be sorted by the merge date)
102104
/// of this list.

0 commit comments

Comments
 (0)