mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 14:10:30 +03:00
Bigint toHex: Remove duplicate buffer
This commit is contained in:
parent
18cdcdc298
commit
80c64d92e4
1 changed files with 2 additions and 2 deletions
|
@ -408,8 +408,8 @@ public:
|
|||
sink("-");
|
||||
if (formatString.length>0 && formatString[$-1]=='x' || formatString[$-1]=='X')
|
||||
{
|
||||
char[] buff = data.toHexString(1, '_');
|
||||
sink(data.toHexString(0, '_'));
|
||||
char[] buff = data.toHexString(0, '_');
|
||||
sink(buff);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue