Commit dd8c4e4
authored
- Replaced .clone().as_str() with cleaner approach using intermediate variable
- CheetahString clone is still needed due to borrow checker requirements
- Leverages automatic coercion from &CheetahString to &str via AsRef/Deref
- Makes code more idiomatic and readable
- All tests passing
1 parent 90d2bba commit dd8c4e4
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
695 | | - | |
| 695 | + | |
| 696 | + | |
696 | 697 | | |
697 | 698 | | |
698 | 699 | | |
| |||
0 commit comments