Skip to content

Commit 9f1d370

Browse files
committed
the day that i make a PR without a tidy error..
1 parent 5d91e9e commit 9f1d370

File tree

1 file changed

+7
-7
lines changed
  • compiler/rustc_infer/src/infer

1 file changed

+7
-7
lines changed

compiler/rustc_infer/src/infer/at.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
111111
}
112112

113113
/// Makes `a <: b`, where `a` may or may not be expected.
114-
///
114+
///
115115
/// See [`At::trace_exp`] and [`Trace::sub`] for a version of
116116
/// this method that only requires `T: Relate<'tcx>`
117117
pub fn sub_exp<T>(self, a_is_expected: bool, a: T, b: T) -> InferResult<'tcx, ()>
@@ -125,7 +125,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
125125
/// call like `foo(x)`, where `foo: fn(i32)`, you might have
126126
/// `sup(i32, x)`, since the "expected" type is the type that
127127
/// appears in the signature.
128-
///
128+
///
129129
/// See [`At::trace`] and [`Trace::sub`] for a version of
130130
/// this method that only requires `T: Relate<'tcx>`
131131
pub fn sup<T>(self, expected: T, actual: T) -> InferResult<'tcx, ()>
@@ -136,7 +136,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
136136
}
137137

138138
/// Makes `expected <: actual`.
139-
///
139+
///
140140
/// See [`At::trace`] and [`Trace::sub`] for a version of
141141
/// this method that only requires `T: Relate<'tcx>`
142142
pub fn sub<T>(self, expected: T, actual: T) -> InferResult<'tcx, ()>
@@ -147,7 +147,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
147147
}
148148

149149
/// Makes `expected <: actual`.
150-
///
150+
///
151151
/// See [`At::trace_exp`] and [`Trace::eq`] for a version of
152152
/// this method that only requires `T: Relate<'tcx>`
153153
pub fn eq_exp<T>(self, a_is_expected: bool, a: T, b: T) -> InferResult<'tcx, ()>
@@ -158,7 +158,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
158158
}
159159

160160
/// Makes `expected <: actual`.
161-
///
161+
///
162162
/// See [`At::trace`] and [`Trace::eq`] for a version of
163163
/// this method that only requires `T: Relate<'tcx>`
164164
pub fn eq<T>(self, expected: T, actual: T) -> InferResult<'tcx, ()>
@@ -191,7 +191,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
191191
/// this can result in an error (e.g., if asked to compute LUB of
192192
/// u32 and i32), it is meaningful to call one of them the
193193
/// "expected type".
194-
///
194+
///
195195
/// See [`At::trace`] and [`Trace::lub`] for a version of
196196
/// this method that only requires `T: Relate<'tcx>`
197197
pub fn lub<T>(self, expected: T, actual: T) -> InferResult<'tcx, T>
@@ -204,7 +204,7 @@ impl<'a, 'tcx> At<'a, 'tcx> {
204204
/// Computes the greatest-lower-bound, or mutual subtype, of two
205205
/// values. As with `lub` order doesn't matter, except for error
206206
/// cases.
207-
///
207+
///
208208
/// See [`At::trace`] and [`Trace::glb`] for a version of
209209
/// this method that only requires `T: Relate<'tcx>`
210210
pub fn glb<T>(self, expected: T, actual: T) -> InferResult<'tcx, T>

0 commit comments

Comments
 (0)