Skip to main content

mutating_call_place

Function mutating_call_place 

Source
pub fn mutating_call_place(node: &SNode) -> Option<&SNode>
Expand description

When node is place.method(...) naming a mutating builtin method, the receiver place it may rewrite. This is syntactic: a user struct method that happens to share the name also reports its receiver, which keeps write analyses conservative.