fn cmp(&self, other: &Pos) -> Ordering {
        self.filename()
            .cmp(other.filename())
            .then(self.start_cnum().cmp(&other.start_cnum()))
            .then(self.end_cnum().cmp(&other.end_cnum()))
    }
// Intended to match the implementation of `Pos.compare` in OCaml.
Intended to match the implementation of `Pos.compare` in OCaml.
Intended to match the implementation of ` Pos . compare ` in OCaml .
fn cmp(&self, other: &Pos) -> Ordering {
        self.filename()
            .cmp(other.filename())
            .then(self.start_cnum().cmp(&other.start_cnum()))
            .then(self.end_cnum().cmp(&other.end_cnum()))
    }
fn cmp ( & self , other : & Pos ) -> Ordering { self . filename ( ) . cmp ( other . filename ( ) ) . then ( self . start_cnum ( ) . cmp ( & other . start_cnum ( ) ) ) . then ( self . end_cnum ( ) . cmp ( & other . end_cnum ( ) ) ) }
Intended to match the implementation of `Pos.compare` in OCaml.
Intended to match the implementation of ` Pos . compare ` in OCaml .
&self
other
&Pos