Skip to content

Commit 3068898

Browse files
committed
chore: Remove debug symbols from the release build
1 parent 02da530 commit 3068898

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Changed
6+
7+
- Remove debug symbols from the release build
8+
59
### Performance
610

711
- Reduce the number of `String` allocations.

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,3 @@ criterion = ">= 0.1"
3232
[[bench]]
3333
name = "inliner"
3434
harness = false
35-
36-
[profile.release]
37-
debug = true

python/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
### Changed
6+
7+
- Remove debug symbols from the release build
8+
59
## [0.2.0] - 2020-06-25
610

711
### Added

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ fn process_css(document: &NodeRef, css: &str) -> Result<()> {
279279
merge_styles(existing_style, &rule.declarations)?
280280
} else {
281281
let mut final_styles = String::with_capacity(32);
282-
for (name, value) in rule.declarations.iter() {
282+
for (name, value) in &rule.declarations {
283283
final_styles.push_str(name);
284284
final_styles.push(':');
285285
final_styles.push_str(value);

0 commit comments

Comments
 (0)