Changeset 401

Show
Ignore:
Timestamp:
10/14/07 20:23:00 (1 year ago)
Author:
andrei
Message:

Cosmetic change

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • candidate/phobos/std/format.d

    r391 r401  
    19741974        formatGeneric!(Writer, ulong)(w, &fake, f); 
    19751975    } else static if (is(D : Object)) { 
    1976         if (obj) w.write(obj.toString); 
    1977         else w.write("null"); 
     1976        if (obj is null) w.write("null"); 
     1977        else w.write(obj.toString); 
    19781978    } else { 
    19791979        static assert(false, "Cannot format type " ~ D.stringof);