From 31cabe0fb98b4c75cb088761ba5ad53dbd2285ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 14 Sep 2016 18:51:11 +0200 Subject: Use spaces in snippets in the guide --- doc/src/guide/constraints.asciidoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/src/guide/constraints.asciidoc') diff --git a/doc/src/guide/constraints.asciidoc b/doc/src/guide/constraints.asciidoc index 822962d..7721831 100644 --- a/doc/src/guide/constraints.asciidoc +++ b/doc/src/guide/constraints.asciidoc @@ -74,11 +74,11 @@ to an integer: [source,erlang] ---- fun (Value0) when is_binary(Value0) -> - try binary_to_integer(Value0) of - Value -> {true, Value} - catch _:_ -> - false - end. + try binary_to_integer(Value0) of + Value -> {true, Value} + catch _:_ -> + false + end. ---- Constraint functions should only crash because the programmer -- cgit v1.2.3