aboutsummaryrefslogtreecommitdiffstats
path: root/src/macros.rs
diff options
context:
space:
mode:
authorC. Morgan Hamill <me@cmhamill.org>2015-03-24 19:55:02 +0100
committerC. Morgan Hamill <me@cmhamill.org>2015-03-24 19:55:02 +0100
commit0c55e4e4d5bb8b9098fc6f780a74e99f436153c0 (patch)
treebe17897961f2836cd356d59049e5504172d2dcca /src/macros.rs
parent4a314517ad9d52884232e4ed7e3b0d01e6e9b1e3 (diff)
downloadmail-0c55e4e4d5bb8b9098fc6f780a74e99f436153c0.tar.gz
Make methods borrow self mutably when appropriate.
Use of raw pointers and FFI functions mean that the compiler won't force us to be correct in our usage of `&self` vs. `&mut self`. These functions make changes to the notmuch database, and we want the type system to ensure we can't simultaneously manipulate the database from different functions.
Diffstat (limited to 'src/macros.rs')
0 files changed, 0 insertions, 0 deletions