rust: auto-borrow