Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

rust•armanriazi•error•cannot be formatted with the default formatter

impl Display for File {
   fn fmt(&self, f:
          &mut fmt::Formatter,
   ) -> fmt::Result {
      write!(f, "<{} ({})>",
             self.name, self.state)
   }
}
 
PREVIOUS NEXT
Tagged: #formatted #default #formatter
ADD COMMENT
Topic
Name
7+3 =