]> git.lizzy.rs Git - rust.git/commit
Minor fix to docs of constraints on mut/non-mut references
authorAndrea Canciani <ranma42@gmail.com>
Thu, 4 Jun 2015 13:11:36 +0000 (15:11 +0200)
committerAndrea Canciani <ranma42@gmail.com>
Thu, 4 Jun 2015 13:14:09 +0000 (15:14 +0200)
commit2b13b4505865d89e2278f7211a314da47bd03841
tree550ee6ad243cfb0487ad6a4ba0bdb79fb7f06508
parent0aeb9f6f08c353c71d962d5cc7a231e73040ca3c
Minor fix to docs of constraints on mut/non-mut references

The statement is not completely exact, because it is valid to have
both 0 non-mutable references and 1 mutable reference. Instead, use
the same wording as in mutability.md.
src/doc/trpl/references-and-borrowing.md