Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Oct 29, 2023
1 parent a3de7ef commit fb9bca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/nargo_toml/src/semver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub(crate) fn semver_check_package(
// Strip the build meta data from the version string since it is ignored by semver.
fn strip_build_meta_data(version: &Version) -> String {
let version_string = version.to_string();
let mut split = version_string.split('+');
let mut split = version_string.split('+');
split.next().expect("split was called on an empty string").to_string()
}

Expand Down

0 comments on commit fb9bca5

Please sign in to comment.