Skip to content

Commit

Permalink
Remove stale footnote
Browse files Browse the repository at this point in the history
Footnote about function 'fun' is not in source code.
  • Loading branch information
zgrmrts authored May 5, 2020
1 parent ffc9958 commit bfd7f27
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/types/literals.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,11 @@ fn main() {
There are some concepts used in the previous code that haven't been explained
yet, here's a brief explanation for the impatient readers:

* `fun(&foo)` is used to pass an argument to a function *by reference*, rather
than by value (`fun(foo)`). For more details see [borrowing][borrow].
* `std::mem::size_of_val` is a function, but called with its *full path*. Code
can be split in logical units called *modules*. In this case, the
`size_of_val` function is defined in the `mem` module, and the `mem` module
is defined in the `std` *crate*. For more details, see
[modules][mod] and [crates][crate].

[borrow]: ../scope/borrow.md
[mod]: ../mod.md
[crate]: ../crates.md

0 comments on commit bfd7f27

Please sign in to comment.