Skip to content

Commit 441682c

Browse files
committed
Update comments in format args lowering.
These lang items have been moved/renamed.
1 parent bca80d8 commit 441682c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

compiler/rustc_ast_lowering/src/format.rs

+7-7
Original file line numberDiff line numberDiff line change
@@ -220,19 +220,19 @@ fn make_argument<'hir>(
220220
/// Generates:
221221
///
222222
/// ```text
223-
/// <core::fmt::rt::v1::Count>::Is(…)
223+
/// <core::fmt::rt::Count>::Is(…)
224224
/// ```
225225
///
226226
/// or
227227
///
228228
/// ```text
229-
/// <core::fmt::rt::v1::Count>::Param(…)
229+
/// <core::fmt::rt::Count>::Param(…)
230230
/// ```
231231
///
232232
/// or
233233
///
234234
/// ```text
235-
/// <core::fmt::rt::v1::Count>::Implied
235+
/// <core::fmt::rt::Count>::Implied
236236
/// ```
237237
fn make_count<'hir>(
238238
ctx: &mut LoweringContext<'_, 'hir>,
@@ -278,13 +278,13 @@ fn make_count<'hir>(
278278
/// Generates
279279
///
280280
/// ```text
281-
/// <core::fmt::rt::v1::Argument::new(
281+
/// <core::fmt::rt::Placeholder::new(
282282
/// …usize, // position
283283
/// '…', // fill
284-
/// <core::fmt::rt::v1::Alignment>::…, // alignment
284+
/// <core::fmt::rt::Alignment>::…, // alignment
285285
/// …u32, // flags
286-
/// <core::fmt::rt::v1::Count::…>, // width
287-
/// <core::fmt::rt::v1::Count::…>, // precision
286+
/// <core::fmt::rt::Count::…>, // width
287+
/// <core::fmt::rt::Count::…>, // precision
288288
/// )
289289
/// ```
290290
fn make_format_spec<'hir>(

0 commit comments

Comments
 (0)