File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,10 @@ use crate::{LateContext, LateLintPass};
1515
1616declare_lint ! {
1717 /// The `tail_expr_drop_order` lint looks for those values generated at the tail expression location,
18- /// that of type with a custom `Drop` destructor implementation, which will be dropped earlier in Edition 2024.
19- /// Your discretion on the new drop order introduced by Edition 2024 is required.
18+ /// that runs a custom `Drop` destructor.
19+ /// Some of them may be dropped earlier in Edition 2024 that they used to in Edition 2021 and prior.
20+ /// This lint detects those cases and provides you information on those values and their custom destructor implementations.
21+ /// Your discretion on this information is required.
2022 ///
2123 /// ### Example
2224 /// ```rust,edition2021
You can’t perform that action at this time.
0 commit comments