summaryrefslogtreecommitdiff
path: root/lib/tools/doc/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <bjorn@erlang.org>2021-01-12 05:26:18 +0100
committerGitHub <noreply@github.com>2021-01-12 05:26:18 +0100
commit1c6f83e894e4a069eb5b01039658022c2501ba2d (patch)
treec8e3b33ed0cb51fda3b4202e95f8af362faaa3e9 /lib/tools/doc/src
parentef00d145a073d3a39a6dc682fabfb0eba74a27f2 (diff)
parent852874f57ba68df754e63cd38f60f6df7d085207 (diff)
downloaderlang-1c6f83e894e4a069eb5b01039658022c2501ba2d.tar.gz
Merge pull request #2929 from dischoen/replace-BIFs-in-doc-examples
Replace old test BIFs w/o is_ prefix in documentation code examples
Diffstat (limited to 'lib/tools/doc/src')
-rw-r--r--lib/tools/doc/src/fprof.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tools/doc/src/fprof.xml b/lib/tools/doc/src/fprof.xml
index 5d2683846f..b3ba4a200c 100644
--- a/lib/tools/doc/src/fprof.xml
+++ b/lib/tools/doc/src/fprof.xml
@@ -598,7 +598,7 @@
-module(foo).
-export([create_file_slow/2]).
-create_file_slow(Name, N) when integer(N), N >= 0 ->
+create_file_slow(Name, N) when is_integer(N), N >= 0 ->
{ok, FD} =
file:open(Name, [raw, write, delayed_write, binary]),
if N > 256 ->