File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -526,7 +526,7 @@ $(H3 $(LNAME2 pure-special-cases, Special Cases))
526
526
$(H3 $(LNAME2 pure-factory-functions, Pure Factory Functions))
527
527
528
528
$(P A $(I pure factory function) is a strongly pure function
529
- that returns a result that has mutable indirections.
529
+ that returns a result that has only mutable indirections.
530
530
All mutable
531
531
memory returned by the call cannot be referenced by any other part of the
532
532
program, i.e. it is newly allocated by the function.
@@ -545,7 +545,7 @@ $(H3 $(LNAME2 pure-factory-functions, Pure Factory Functions))
545
545
pure List* make(int a, int b)
546
546
{
547
547
auto result = new List(a, null);
548
- result.next = new List(b, result );
548
+ result.next = new List(b, null );
549
549
return result;
550
550
}
551
551
You can’t perform that action at this time.
0 commit comments