Tobiasz Małecki
2adfdeb98b
Make Module docs examples more formatter-compatible ( #7972 )
...
[ci skip]
2018-07-22 20:30:13 +02:00
Tobiasz Małecki
4e0967f3a9
Make Kernel.Utils.defguard/2 doc example more formatter-compatible ( #7971 )
2018-07-22 19:56:40 +02:00
Fernando Tapia Rico
4d5110afa3
Improve Module.defines?/3 examples ( #7968 )
2018-07-22 19:30:52 +02:00
Tobiasz Małecki
b230541fae
Make GenServer docs examples more formatter/iex compatible ( #7969 )
2018-07-22 19:29:31 +02:00
Tobiasz Małecki
36e5083fe2
Make Supervisor.Spec docs examples more formatter-compatible ( #7967 )
2018-07-22 19:21:51 +02:00
Tobiasz Małecki
4b329bd0df
Make OptionParser docs more formatter-compatible ( #7966 )
2018-07-22 19:17:59 +02:00
Tobiasz Małecki
2acf2ea1e8
Path docs improvement ( #7965 )
2018-07-22 19:16:01 +02:00
Tobiasz Małecki
7279269ba5
Make Macro docs examples more formatter-compatible ( #7964 )
2018-07-22 19:09:35 +02:00
Tobiasz Małecki
dae526c83a
Make Map.new/1 doc more formatter-compatible ( #7963 )
2018-07-22 11:08:01 +02:00
Tobiasz Małecki
ab31e6ae43
Make File docs examples more formatter-compatible ( #7957 )
2018-07-22 08:47:49 +02:00
Tobiasz Małecki
6618d91e74
Make IO docs examples more formatter-compatible ( #7958 )
2018-07-22 08:47:12 +02:00
Tobiasz Małecki
8a569cf04a
Make Port docs examples more formatter-compatible ( #7959 )
2018-07-22 08:46:25 +02:00
Tobiasz Małecki
24ef77966d
Make StringIO docs examples more formatter-compatible ( #7960 )
2018-07-22 08:45:19 +02:00
Tobiasz Małecki
3c58cc47bb
Make Kernel docs examples more formatter-compatible ( #7961 )
2018-07-22 08:44:50 +02:00
Lau Taarnskov
813b0fdbb1
Rename variable utc_date ( #7962 )
...
Rename a variable holding an NaiveDateTime in ISO calendar.
It is not a date and it is not in UTC, but rather a NaiveDateTime.
2018-07-22 08:38:19 +02:00
Tobiasz Małecki
5018eee3e4
Fix too wide example for Calendar.ISO.datetime_to_string ( #7956 )
2018-07-21 16:41:16 +02:00
José Valim
34befaaa36
Allow to prune metadata while escaping ( #7949 )
...
We use this option in ExUnit as we are escaping
the code to eventually convert it to a string
representation and therefore the metadata is not
relevant.
2018-07-21 12:56:07 +02:00
Tobiasz Małecki
f82f0632a6
Make Supervisor docs examples more formatter-compatible ( #7954 )
...
[ci skip]
2018-07-21 12:45:24 +02:00
Tobiasz Małecki
3c46104dd0
Make Stream docs examples more formatter-compatible ( #7953 )
2018-07-21 12:42:50 +02:00
Tobiasz Małecki
1e4efc179a
Make Agent docs examples more formatter-compatible ( #7952 )
2018-07-21 12:42:27 +02:00
José Valim
321f4d87ca
Use quote fragments to remove duplication and optimize calendar parsing ( #7951 )
2018-07-21 10:47:27 +02:00
Tobiasz Małecki
c114300727
Make Task docs examples more formatter-compatible ( #7950 )
2018-07-21 01:45:03 +02:00
Tobiasz Małecki
70117c97c2
Make Record docs examples more formatter-compatible ( #7948 )
2018-07-20 23:54:05 +02:00
Tobiasz Małecki
ba328be2c3
Fix example in DynamicSupervisor moduledoc ( #7945 )
2018-07-20 15:56:44 +02:00
Tobiasz Małecki
772d7011f1
Fix example code in Tuple @moduledoc ( #7944 )
2018-07-20 15:54:28 +02:00
Tobiasz Małecki
f3ef799d3d
Make Process docs examples more formatter-compatible [skip-ci] ( #7943 )
2018-07-20 13:12:01 +02:00
Tobiasz Małecki
4197a3d9b4
Fix misplaced parenthesis in System.cmd/3 examples [skip-ci] ( #7942 )
2018-07-20 13:11:20 +02:00
Tobiasz Małecki
67ea35724b
Make Enum docs examples more formatter-compatible ( #7941 )
...
[ci skip]
2018-07-20 12:48:38 +02:00
Tobiasz Małecki
4da19c1623
Make example in List moduledoc more formatter-compatible [skip ci] ( #7940 )
2018-07-20 10:48:18 +02:00
Tobiasz Małecki
51cec36427
Added missing commas in Application.get_env/3 examples [skip ci] ( #7939 )
2018-07-20 09:34:32 +02:00
Tobiasz Małecki
d72727629a
Make Access docs examples more formatter-compatible ( #7938 )
2018-07-20 08:40:45 +02:00
José Valim
95ec1be78a
Clean up private elixir_config API
2018-07-19 23:27:52 +02:00
José Valim
2ff3266814
Throttle system warnings per location
2018-07-19 23:27:52 +02:00
José Valim
dc25bb8e14
Properly annotate key errors for structs, closes #7935
...
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2018-07-19 22:42:21 +02:00
José Valim
c5e0704916
Move some runtime deprecations to compile time
...
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2018-07-19 22:42:14 +02:00
Jean-Philippe Cugnet
3b030b009e
Fix a typo in the unnecessary quotes warning ( #7934 )
...
[ci skip]
2018-07-19 19:44:58 +02:00
Łukasz Jan Niemier
14e4c49b76
Add reference to Integer.parse/2 in String.to_integer/1 ( #7924 )
...
This should reduce confusion for newcomers about how function works and
what to use when you need to gracefully handle possible ill-formated
strings.
2018-07-19 12:03:26 +02:00
José Valim
6d8ebd4327
Remove leftover spaces
2018-07-18 19:38:47 +02:00
Callum Dempsey Leach
ff364ff5bd
Clarify Application.get_env by illustrating a use case ( #7929 )
2018-07-18 19:35:39 +02:00
Fernando Tapia Rico
ae15d1822f
Check duplicated @on_load attributes ( #7921 )
2018-07-18 19:34:31 +02:00
José Valim
dc87bcb4b5
Remove unecessary :message key
2018-07-18 13:51:05 +02:00
Tobiasz Małecki
7098204b5a
Added missing @doc :since metadata ( #7922 )
2018-07-18 09:02:17 +02:00
Tobiasz Małecki
4dd2f25fa8
Fixed indentation in StringIO.open/3 examples ( #7920 )
2018-07-18 00:47:52 +02:00
Tobiasz Małecki
840cda7cff
Marked reference to Task.Supervisor in Task moduledoc [skip ci] ( #7919 )
...
[ci skip]
2018-07-17 21:54:55 +02:00
Fernando Tapia Rico
92439f637f
Use "time zone" instead of "timezone" everywhere ( #7917 )
...
There is a mix of "timezone" and "time zone" in the codebase. For what I read, "time zone" is usually more correct.
In addition, there are some variables and types named `time_zone`, so I think the best option is to go with "time zone".
2018-07-17 11:04:50 +02:00
Tobiasz Małecki
25d1470227
Marked references to :re module in Regex docs [skip ci] ( #7916 )
2018-07-17 00:37:30 +02:00
Tobiasz Małecki
9bcfdcb7fd
fixed typo in float moduledoc ( #7915 )
...
[ci skip]
2018-07-16 22:11:09 +02:00
Andrea Leopardi
894ce4e305
Add an additional example to the docs for String.jaro_distance/1
2018-07-16 14:43:02 +02:00
Fernando Tapia Rico
a54a1c6f3d
Clarify documentation of @compile :inline flag ( #7909 )
...
[ci skip]
2018-07-16 12:55:23 +02:00
José Valim
fb071c93e3
Doc fixes
2018-07-15 22:24:41 +02:00