Skip to content

Commit 2daf136

Browse files
author
José Valim
committed
Serve rebar without https, closes #2152
1 parent 70b4c06 commit 2daf136

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

lib/elixir/lib/stream.ex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ defmodule Stream do
8181
8282
This module also provides many convenience functions for creating streams,
8383
like `Stream.cycle/1`, `Stream.unfold/2`, `Stream.resource/3` and more.
84+
85+
Note the functions in this module are guaranteed to return enumerables.
86+
Since enumerables can have different shapes (structs, anonymous functions,
87+
and so on), the functions in this module may return any of those shapes
88+
and that it may change at any time. For example, a function that today
89+
returns an anonymous function may return a struct in future releases.
8490
"""
8591

8692
defrecord Lazy, enum: nil, funs: [], accs: [], done: nil

lib/mix/lib/mix/tasks/local.rebar.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule Mix.Tasks.Local.Rebar do
33

44
import Mix.Generator, only: [create_file: 2]
55

6-
@rebar_url "https://github.com/elixir-lang/elixir/raw/3cf4c21ad1f4627585b80394c37ac9f4d39d3aa8/rebar"
6+
@rebar_url "http://elixir-lang.org/rebar"
77
@shortdoc "Install rebar locally"
88

99
@moduledoc """

0 commit comments

Comments
 (0)