Skip to main content

format_string

Function format_string 

Source
pub fn format_string(db: &dyn Database, content: String) -> String
Expand description

Formats Cairo code given as a string.

§Arguments

  • db - The syntax group.
  • content - The code to format.

§Returns

  • String - The formatted code.