Skip to content

Commit 94cc353

Browse files
committed
add missing newlines at end of files.
Swift SVN r1062
1 parent 9c63d1e commit 94cc353

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/Generics.rtf

+1-1
Original file line numberDiff line numberDiff line change
@@ -585,4 +585,4 @@ There is a question as to when this overloading occurs. For example, binarySearc
585585
\
586586
At the time when the generic definition of doSomethingWithSearch is type-checked, only the first binarySearch() function applies, since we don't know that C::RangeType conforms to RandomAccessRange. However, when doSomethingWithSearch is actually invoked, C::RangeType might conform to the RandomAccessRange, in which case we'd be better off picking the second binarySearch. This amounts to run-time overload resolution, which may be desirable , but also has downsides, such as the potential for run-time failures due to ambiguities and the cost of performing such an expensive operation at these call sites. Of course, that cost could be mitigated in hot generic functions via the specialization mentioned above.\
587587
\
588-
Our current proposal for this is to decide statically which function is called (based on similar partial-ordering rules as used in C++), and avoid run-time overload resolution. If this proves onerous, we can revisit the decision later.}
588+
Our current proposal for this is to decide statically which function is called (based on similar partial-ordering rules as used in C++), and avoid run-time overload resolution. If this proves onerous, we can revisit the decision later.}

docs/Resilience.rtf

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,4 +388,4 @@ Break it down by types of declarations.\
388388
- oneof - set of directly represented enumerators\
389389
- oneof elements - directly represented vs. injection/projection.\
390390
- enum - called out so that we can have an extensible thing that promises no data fields. Always an i32 when resilient.\
391-
- const - fragile by default, as if a var otherwise}
391+
- const - fragile by default, as if a var otherwise}

docs/toc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,4 @@ function addTopLinks() {
150150
link.appendChild(textNode);
151151
headers[i].appendChild(span);
152152
}
153-
}
153+
}

0 commit comments

Comments
 (0)