about summary refs log tree commit diff
path: root/src/librustdoc/clean/utils/tests.rs
AgeCommit message (Collapse)AuthorLines
2025-05-23Simplify `format_integer_with_underscore_sep`Yotam Ofek-36/+6
Only ever needs to handle decimal reprs
2021-05-03Valid underscores in hex/octal/binary literal docsSmitty-0/+41
Currently hex/octal/binary literals with computed values are displayed like `0_xff_fff_fffu32`, which is invalid since underscores can't be in the middle of integer prefixes. This properly formats prefixed integers.