@@ -450,7 +450,6 @@ if (isSomeString!(typeof(fmt)))
450
450
@safe pure unittest
451
451
{
452
452
import std.array : appender;
453
- import std.format : formattedWrite;
454
453
455
454
auto writer = appender! string ();
456
455
writer.formattedWrite! " %s is the ultimate %s." (42 , " answer" );
@@ -1760,7 +1759,6 @@ void formatValue(Writer, T, Char)(auto ref Writer w, auto ref T val, const ref F
1760
1759
@safe pure unittest
1761
1760
{
1762
1761
import std.array : appender;
1763
- import std.format ;
1764
1762
1765
1763
auto writer1 = appender! string ();
1766
1764
writer1.formattedWrite(" %08b" , 42 );
@@ -5804,7 +5802,6 @@ immutable(Char)[] format(Char, Args...)(in Char[] fmt, Args args)
5804
5802
if (isSomeChar! Char)
5805
5803
{
5806
5804
import std.array : appender;
5807
- import std.format : formattedWrite, FormatException;
5808
5805
auto w = appender! (immutable (Char)[]);
5809
5806
auto n = formattedWrite(w, fmt, args);
5810
5807
version (all )
@@ -5823,7 +5820,6 @@ if (isSomeChar!Char)
5823
5820
{
5824
5821
import core.exception ;
5825
5822
import std.exception ;
5826
- import std.format ;
5827
5823
assertCTFEable! (
5828
5824
{
5829
5825
// assert(format(null) == "");
@@ -5880,7 +5876,6 @@ if (isSomeString!(typeof(fmt)))
5880
5876
char [] sformat (Char, Args... )(char [] buf, in Char[] fmt, Args args)
5881
5877
{
5882
5878
import core.exception : RangeError;
5883
- import std.format : formattedWrite, FormatException;
5884
5879
import std.utf : encode;
5885
5880
5886
5881
size_t i;
0 commit comments