Skip to content
Snippets Groups Projects
Commit ca9acfde authored by orestis.malaspin's avatar orestis.malaspin
Browse files

Merge branch 'fix_formatting' into 'main'

Fix formatting

See merge request !78
parents 7678a15c 6a6c590a
No related branches found
No related tags found
1 merge request!78Fix formatting
Pipeline #33816 passed
...@@ -97,8 +97,7 @@ pub fn read_command_line_builder() -> Result<(), String> { ...@@ -97,8 +97,7 @@ pub fn read_command_line_builder() -> Result<(), String> {
// ANCHOR_END: matches // ANCHOR_END: matches
// ANCHOR: numbers_matches // ANCHOR: numbers_matches
let numbers = let numbers = if let Some(count) =
if let Some(count) =
// ANCHOR: get_one_matches // ANCHOR: get_one_matches
matches.get_one::<usize>("count") matches.get_one::<usize>("count")
// ANCHOR_END: get_one_matches // ANCHOR_END: get_one_matches
......
...@@ -38,7 +38,7 @@ fn main() { ...@@ -38,7 +38,7 @@ fn main() {
safe_list.print(); safe_list.print();
unsafe_list.print(); unsafe_list.print();
for j in 1..1000 { for _j in 1..1000 {
let mut ul = UnsafeList::new(); let mut ul = UnsafeList::new();
for i in 1..1_000_000 { for i in 1..1_000_000 {
ul.push(i); ul.push(i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment