Skip to content

Commit 5550323

Browse files
committed
Add missing backticks
1 parent 915ba1b commit 5550323

File tree

3 files changed

+48
-48
lines changed

3 files changed

+48
-48
lines changed

lib/eex/lib/eex/tokenizer.ex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ defmodule EEx.Tokenizer do
55
Tokenizes the given char list or binary.
66
It returns 4 different types of tokens as result:
77
8-
* {:text, contents}
9-
* {:expr, line, marker, contents}
10-
* {:start_expr, line, marker, contents}
11-
* {:middle_expr, line, marker, contents}
12-
* {:end_expr, line, marker, contents}
8+
* `{:text, contents}`
9+
* `{:expr, line, marker, contents}`
10+
* `{:start_expr, line, marker, contents}`
11+
* `{:middle_expr, line, marker, contents}`
12+
* `{:end_expr, line, marker, contents}`
1313
1414
"""
1515
def tokenize(bin, line) when is_binary(bin) do

lib/elixir/lib/file.ex

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -280,13 +280,13 @@ defmodule File do
280280
281281
Typical error reasons are:
282282
283-
* :eacces - Missing search or write permissions for the parent directories
284-
of `path`.
285-
* :eexist - There is already a file or directory named `path`.
286-
* :enoent - A component of `path` does not exist.
287-
* :enospc - There is a no space left on the device.
288-
* :enotdir - A component of `path` is not a directory.
289-
On some platforms, `:enoent` is returned instead.
283+
* `:eacces` - Missing search or write permissions for the parent directories
284+
of `path`.
285+
* `:eexist` - There is already a file or directory named `path`.
286+
* `:enoent` - A component of `path` does not exist.
287+
* `:enospc` - There is a no space left on the device.
288+
* `:enotdir` - A component of `path` is not a directory.
289+
On some platforms, `:enoent` is returned instead.
290290
"""
291291
@spec mkdir(Path.t) :: :ok | {:error, posix}
292292
def mkdir(path) do
@@ -312,10 +312,10 @@ defmodule File do
312312
313313
Typical error reasons are:
314314
315-
* :eacces - Missing search or write permissions for the parent directories
316-
of `path`.
317-
* :enospc - There is a no space left on the device.
318-
* :enotdir - A component of `path` is not a directory.
315+
* `:eacces` - Missing search or write permissions for the parent directories
316+
of `path`.
317+
* `:enospc` - There is a no space left on the device.
318+
* `:enotdir` - A component of `path` is not a directory.
319319
"""
320320
@spec mkdir_p(Path.t) :: :ok | {:error, posix}
321321
def mkdir_p(path) do
@@ -341,13 +341,13 @@ defmodule File do
341341
342342
Typical error reasons:
343343
344-
* :enoent - The file does not exist.
345-
* :eacces - Missing permission for reading the file,
346-
or for searching one of the parent directories.
347-
* :eisdir - The named file is a directory.
348-
* :enotdir - A component of the file name is not a directory.
349-
On some platforms, `:enoent` is returned instead.
350-
* :enomem - There is not enough memory for the contents of the file.
344+
* `:enoent` - The file does not exist.
345+
* `:eacces` - Missing permission for reading the file,
346+
or for searching one of the parent directories.
347+
* `:eisdir` - The named file is a directory.
348+
* `:enotdir` - A component of the file name is not a directory.
349+
On some platforms, `:enoent` is returned instead.
350+
* `:enomem` - There is not enough memory for the contents of the file.
351351
352352
You can use `:file.format_error/1` to get a descriptive string of the error.
353353
"""
@@ -728,13 +728,13 @@ defmodule File do
728728
729729
Typical error reasons are:
730730
731-
* :enoent - A component of the file name does not exist.
732-
* :enotdir - A component of the file name is not a directory.
733-
On some platforms, enoent is returned instead.
734-
* :enospc - There is a no space left on the device.
735-
* :eacces - Missing permission for writing the file or searching one of the
736-
parent directories.
737-
* :eisdir - The named file is a directory.
731+
* `:enoent` - A component of the file name does not exist.
732+
* `:enotdir` - A component of the file name is not a directory.
733+
On some platforms, enoent is returned instead.
734+
* `:enospc` - There is a no space left on the device.
735+
* `:eacces` - Missing permission for writing the file or searching one of the
736+
parent directories.
737+
* `:eisdir` - The named file is a directory.
738738
739739
The writing is automatically done in `:raw` mode. Check
740740
`File.open/2` for other available options.
@@ -765,12 +765,12 @@ defmodule File do
765765
766766
Typical error reasons are:
767767
768-
* :enoent - The file does not exist.
769-
* :eacces - Missing permission for the file or one of its parents.
770-
* :eperm - The file is a directory and user is not super-user.
771-
* :enotdir - A component of the file name is not a directory.
772-
On some platforms, enoent is returned instead.
773-
* :einval - Filename had an improper type, such as tuple.
768+
* `:enoent` - The file does not exist.
769+
* `:eacces` - Missing permission for the file or one of its parents.
770+
* `:eperm` - The file is a directory and user is not super-user.
771+
* `:enotdir` - A component of the file name is not a directory.
772+
On some platforms, enoent is returned instead.
773+
* `:einval` - Filename had an improper type, such as tuple.
774774
775775
## Examples
776776

lib/elixir/lib/kernel.ex

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3270,18 +3270,18 @@ defmodule Kernel do
32703270
The supported types available are:
32713271
32723272
* Structs (see below)
3273-
* Tuple
3274-
* Atom
3275-
* List
3276-
* BitString
3277-
* Integer
3278-
* Float
3279-
* Function
3280-
* PID
3281-
* Map
3282-
* Port
3283-
* Reference
3284-
* Any (see below)
3273+
* `Tuple`
3274+
* `Atom`
3275+
* `List`
3276+
* `BitString`
3277+
* `Integer`
3278+
* `Float`
3279+
* `Function`
3280+
* `PID`
3281+
* `Map`
3282+
* `Port`
3283+
* `Reference`
3284+
* `Any` (see below)
32853285
32863286
## Protocols + Structs
32873287

0 commit comments

Comments
 (0)