AFAICS, any &reference to a Database or Message lets the user mutates things freely. For example, Message::add_tag takes a &self reference. It’s not a big deal since nothing is thread-safe anyway, but I think it would be nice to actually use rust mutation rules.
AFAICS, any &reference to a Database or Message lets the user mutates things freely. For example,
Message::add_tagtakes a &self reference. It’s not a big deal since nothing is thread-safe anyway, but I think it would be nice to actually use rust mutation rules.