Skip to content

Commit 083cdd1

Browse files
author
José Valim
committed
Merge pull request elixir-lang#188 from travishoyt/patch-1
Update md to correct set_elem typo
2 parents 4264427 + fdbe84d commit 083cdd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crash-course.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ setelement(1, { a, b, c }, d) %=> { d, b, c }
260260

261261
```elixir
262262
elem({ :a, :b, :c }, 0) #=> :a
263-
setelem({ :a, :b, :c }, 0, :d) #=> { :d, :b, :c }
263+
set_elem({ :a, :b, :c }, 0, :d) #=> { :d, :b, :c }
264264
```
265265

266266
### Lists and Binaries

0 commit comments

Comments
 (0)