Skip to content

Commit 928e370

Browse files
dependabot[bot]torokati44
authored andcommitted
build(deps): bump convert_case from 0.9.0 to 0.10.0
Bumps [convert_case](https://github.com/rutrum/convert-case) from 0.9.0 to 0.10.0. - [Commits](https://github.com/rutrum/convert-case/commits) --- updated-dependencies: - dependency-name: convert_case dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent 5e225f0 commit 928e370

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/build_playerglobal/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version.workspace = true
1111
workspace = true
1212

1313
[dependencies]
14-
convert_case = "0.9.0"
14+
convert_case = "0.10.0"
1515
proc-macro2 = "1.0.103"
1616
quote = "1.0.42"
1717
swf = { path = "../../swf" }

core/build_playerglobal/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,12 @@ fn flash_to_rust_string(path: &str, uppercase: bool, separator: &str) -> String
214214
return component.to_string();
215215
}
216216

217-
let mut without_boundaries = vec![Boundary::DigitUpper];
217+
let mut remove_boundaries = vec![Boundary::DigitUpper];
218218
// Special case for classes ending in '3D' - we want to ave something like
219219
// 'vertex_buffer_3d' instead of 'vertex_buffer3d'
220220
if !component.ends_with("3D") {
221221
// Do not split on a letter followed by a digit, so e.g. `atan2` won't become `atan_2`.
222-
without_boundaries.extend([Boundary::UpperDigit, Boundary::LowerDigit]);
222+
remove_boundaries.extend([Boundary::UpperDigit, Boundary::LowerDigit]);
223223
}
224224

225225
// For cases like `Vector$int`, so we don't have to put the native
@@ -228,7 +228,7 @@ fn flash_to_rust_string(path: &str, uppercase: bool, separator: &str) -> String
228228

229229
component
230230
.from_case(Case::Camel)
231-
.without_boundaries(&without_boundaries)
231+
.remove_boundaries(&remove_boundaries)
232232
.to_case(new_case)
233233
})
234234
.collect::<Vec<_>>();

0 commit comments

Comments
 (0)