aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-05-26 15:51:00 +0200
committerBjörn-Egil Dahlberg <[email protected]>2014-05-26 15:51:00 +0200
commit47463022cea3b7ca89124c1607cf10b92fbb536f (patch)
tree47daebb647ef9889939ea380cb95d278a29bb8c9 /lib/stdlib/doc
parent6e6b66218b8ce1f68ca9fd68690ee93d6c98bb05 (diff)
downloadotp-47463022cea3b7ca89124c1607cf10b92fbb536f.tar.gz
otp-47463022cea3b7ca89124c1607cf10b92fbb536f.tar.bz2
otp-47463022cea3b7ca89124c1607cf10b92fbb536f.zip
stdlib: Fix indentation of maps doc
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r--lib/stdlib/doc/src/maps.xml22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/stdlib/doc/src/maps.xml b/lib/stdlib/doc/src/maps.xml
index a6bb120d07..b37f7fd7fd 100644
--- a/lib/stdlib/doc/src/maps.xml
+++ b/lib/stdlib/doc/src/maps.xml
@@ -108,22 +108,22 @@
</func>
<func>
- <name name="get" arity="3"/>
- <fsummary></fsummary>
- <desc>
- <p>
- Returns the value <c><anno>Value</anno></c> associated with <c><anno>Key</anno></c> if
+ <name name="get" arity="3"/>
+ <fsummary></fsummary>
+ <desc>
+ <p>
+ Returns the value <c><anno>Value</anno></c> associated with <c><anno>Key</anno></c> if
<c><anno>Map</anno></c> contains <c><anno>Key</anno></c>.
If no value is associated with <c><anno>Key</anno></c> then returns <c><anno>Default</anno></c>.
</p>
<p>Example:</p>
<code type="none">
->Map = #{ key1 => val1, key2 => val2 }.
- #{key1 => val1,key2 => val2}
- maps:get(key1, Map, "Default value").
- val1
- maps:get(key3, Map, "Default value").
- "Default value"</code>
+> Map = #{ key1 => val1, key2 => val2 }.
+#{key1 => val1,key2 => val2}
+> maps:get(key1, Map, "Default value").
+val1
+> maps:get(key3, Map, "Default value").
+"Default value"</code>
</desc>
</func>