Skip to content

Commit

Permalink
Work around a runtime deadlock.
Browse files Browse the repository at this point in the history
  • Loading branch information
robrix committed Oct 13, 2015
1 parent ddb1434 commit fe6f1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Stream/Stream.swift
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public enum Stream<T>: ArrayLiteralConvertible, CollectionType, NilLiteralConver
/// A `Stream` of a `T` and the lazily memoized rest of the `Stream`.
///
/// Avoid using this directly; instead, use `Stream.cons()` or `Stream.pure()` to construct streams, and `stream.first`, `stream.rest`, and `stream.uncons` to deconstruct them: they don’t require you to `Box` or unbox, `Stream.cons()` comes in `@autoclosure` and `Memo` varieties, and `Stream.pure()`, `Stream.cons()`, and `stream.uncons` are all usable as first-class functions.
case Cons(T, Memo<Stream>)
indirect case Cons(T, Memo<Stream>)

/// The empty `Stream`.
///
Expand Down

0 comments on commit fe6f1b6

Please sign in to comment.