fn line(&self, position: usize) -> usize {
        match self.inner.newlines.binary_search(position) {
            Ok(n) | Err(n) => n,
        }
    }
/// Returns the line number where the given position is contained, starting
/// from `0`.
Returns the line number where the given position is contained, starting
from `0`.
Returns the line number where the given position is contained starting from ` 0 ` .
fn line(&self, position: usize) -> usize {
        match self.inner.newlines.binary_search(position) {
            Ok(n) | Err(n) => n,
        }
    }
fn line ( & self , position : usize ) -> usize { match self . inner . newlines . binary_search ( position ) { Ok ( n ) | Err ( n ) => n , } }
Returns the line number where the given position is contained, starting
from `0`.
Returns the line number where the given position is contained starting from ` 0 ` .
&self
position
usize
&self
position
usize