Skip to content

Commit d9f4d2a

Browse files
committed
region_constraints: nits
1 parent 3ba1e19 commit d9f4d2a

File tree

1 file changed

+5
-5
lines changed
  • src/librustc/infer/region_constraints

1 file changed

+5
-5
lines changed

src/librustc/infer/region_constraints/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,19 +153,19 @@ impl Constraint<'_> {
153153
/// ```
154154
#[derive(Debug, Clone, HashStable)]
155155
pub struct MemberConstraint<'tcx> {
156-
/// the def-id of the opaque type causing this constraint: used for error reporting
156+
/// The `DefId` of the opaque type causing this constraint: used for error reporting.
157157
pub opaque_type_def_id: DefId,
158158

159-
/// the span where the hidden type was instantiated
159+
/// The span where the hidden type was instantiated.
160160
pub definition_span: Span,
161161

162-
/// the hidden type in which `member_region` appears: used for error reporting
162+
/// The hidden type in which `member_region` appears: used for error reporting.
163163
pub hidden_ty: Ty<'tcx>,
164164

165-
/// the region R0
165+
/// The region `R0`.
166166
pub member_region: Region<'tcx>,
167167

168-
/// the options O1..On
168+
/// The options `O1..On`.
169169
pub choice_regions: Lrc<Vec<Region<'tcx>>>,
170170
}
171171

0 commit comments

Comments
 (0)