clippy_utils::source

Function position_before_rarrow

source
pub fn position_before_rarrow(s: &str) -> Option<usize>
Expand description

Returns the position just before rarrow

fn into(self) -> () {}
             ^
// in case of unformatted code
fn into2(self)-> () {}
              ^
fn into3(self)   -> () {}
              ^