-
Notifications
You must be signed in to change notification settings - Fork 530
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add closing parenthesis to methods completion (#6380)
- Loading branch information
1 parent
a30295f
commit d311d3b
Showing
11 changed files
with
366 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
crates/cairo-lang-formatter/test_data/cairo_files/sorted_mod_use.cairo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
mod zeta; | ||
mod alpha; | ||
mod gamma; | ||
|
||
use std::fs; | ||
use std::io::Write; | ||
use std::path::PathBuf; | ||
use std::collections::HashMap; | ||
use std::env; | ||
|
||
mod beta; | ||
use crate::utils::{a, b, d, c}; | ||
|
||
fn main() { | ||
// Example function | ||
println!("Hello, world!"); | ||
} |
16 changes: 16 additions & 0 deletions
16
crates/cairo-lang-formatter/test_data/expected_results/sorted_mod_use.cairo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
mod alpha; | ||
mod beta; | ||
mod gamma; | ||
mod zeta; | ||
|
||
use crate::utils::{a, b, c, d}; | ||
use std::collections::HashMap; | ||
use std::env; | ||
use std::fs; | ||
use std::io::Write; | ||
use std::path::PathBuf; | ||
|
||
fn main() { | ||
// Example function | ||
println!("Hello, world!"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.