"Trevor Chan" <[email protected]> writes: > `AlwaysRefCounted::inc_ref` is a function that shouldn't be called lightly. > > To prevent accidentally calling it, change `inc_ref` to be an associated > function. > > Modify all `AlwaysRefCounted` implementors to work with this change. > > Suggested-by: Benno Lossin <[email protected]> > Link: https://github.com/Rust-for-Linux/linux/issues/1177 > Reviewed-by: Alice Ryhl <[email protected]> > Signed-off-by: Trevor Chan <[email protected]>
Reviewed-by: Andreas Hindborg <[email protected]> Best regards, Andreas Hindborg
