File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -712,7 +712,7 @@ pub fn is_default_equivalent(cx: &LateContext<'_>, e: &Expr<'_>) -> bool {
712712/// Checks if the top level expression can be moved into a closure as is.
713713/// Currently checks for:
714714/// * Break/Continue outside the given loop HIR ids.
715- /// * Yield/Return statments .
715+ /// * Yield/Return statements .
716716/// * Inline assembly.
717717/// * Usages of a field of a local where the type of the local can be partially moved.
718718///
@@ -2123,7 +2123,7 @@ pub fn is_in_test_function(tcx: TyCtxt<'_>, id: hir::HirId) -> bool {
21232123 vis. found
21242124}
21252125
2126- /// Checks whether item either has `test` attribute appelied , or
2126+ /// Checks whether item either has `test` attribute applied , or
21272127/// is a module with `test` in its name.
21282128///
21292129/// Note: If you use this function, please add a `#[test]` case in `tests/ui_test`.
You can’t perform that action at this time.
0 commit comments