Update outdated comment.
This commit is contained in:
parent
9e6785430b
commit
bcf388f4ac
@ -94,16 +94,14 @@ fn make_format_spec<'hir>(
|
|||||||
argmap: &mut FxIndexSet<(usize, ArgumentType)>,
|
argmap: &mut FxIndexSet<(usize, ArgumentType)>,
|
||||||
) -> hir::Expr<'hir> {
|
) -> hir::Expr<'hir> {
|
||||||
// Generate:
|
// Generate:
|
||||||
// ::core::fmt::rt::v1::Argument {
|
// ::core::fmt::rt::v1::Argument::new(
|
||||||
// position: 0usize,
|
// 0usize, // position
|
||||||
// format: ::core::fmt::rt::v1::FormatSpec {
|
// ' ', // fill
|
||||||
// fill: ' ',
|
// ::core::fmt::rt::v1::Alignment::Unknown,
|
||||||
// align: ::core::fmt::rt::v1::Alignment::Unknown,
|
// 0u32, // flags
|
||||||
// flags: 0u32,
|
// ::core::fmt::rt::v1::Count::Implied, // width
|
||||||
// precision: ::core::fmt::rt::v1::Count::Implied,
|
// ::core::fmt::rt::v1::Count::Implied, // precision
|
||||||
// width: ::core::fmt::rt::v1::Count::Implied,
|
// )
|
||||||
// },
|
|
||||||
// }
|
|
||||||
let position = match placeholder.argument.index {
|
let position = match placeholder.argument.index {
|
||||||
Ok(arg_index) => {
|
Ok(arg_index) => {
|
||||||
let (i, _) =
|
let (i, _) =
|
||||||
|
Loading…
Reference in New Issue
Block a user