Which programming language is this?
impl fmt::Display for Point {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "({}, {})", self.x, self.y)
}
}
Answer: Rust
impl Trait for Type with &self and the write! macro is Rust's trait implementation syntax.