Skip to content

Commit e2051d7

Browse files
committed
Cleanup
1 parent 7cc4d17 commit e2051d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ fn transform_jsx(source_text: &str) -> String {
4343
}
4444
}
4545

46-
println!("Original:\n");
47-
println!("{source_text}\n");
46+
//println!("Original:\n");
47+
//println!("{source_text}\n");
4848

4949
let mut program = ret.program;
5050

@@ -82,14 +82,14 @@ fn transform_jsx(source_text: &str) -> String {
8282
}
8383

8484
let printed = CodeGenerator::new().build(&program).code;
85-
println!("Transformed:\n");
86-
println!("{printed}");
85+
//println!("Transformed:\n");
86+
//println!("{printed}");
8787

8888
return printed.to_string();
8989
}
9090

9191

92-
/// Formats the sum of two numbers as string.
92+
/// Transforms JSX string to JS string.
9393
#[pyfunction]
9494
fn transform(source_text: String) -> PyResult<String> {
9595
let source_str = source_text.to_string();

0 commit comments

Comments
 (0)