1
Fork 0

Add blank lines after module-level //! comments.

Most modules have such a blank line, but some don't. Inserting the blank
line makes it clearer that the `//!` comments are describing the entire
module, rather than the `use` declaration(s) that immediately follows.
This commit is contained in:
Nicholas Nethercote 2024-06-20 05:04:30 +10:00
parent 09006d6a88
commit 665821cb60
58 changed files with 60 additions and 2 deletions

View file

@ -1,4 +1,5 @@
//! Test the pattern complexity limit.
use common::*;
use rustc_pattern_analysis::{pat::DeconstructedPat, usefulness::PlaceValidity, MatchArm};

View file

@ -1,4 +1,5 @@
//! Test exhaustiveness checking.
use common::*;
use rustc_pattern_analysis::{
pat::{DeconstructedPat, WitnessPat},

View file

@ -1,4 +1,5 @@
//! Test the computation of arm intersections.
use common::*;
use rustc_pattern_analysis::{pat::DeconstructedPat, usefulness::PlaceValidity, MatchArm};