From fb9bca59aaeebf10f9515d1b95bcd33c6c92d8cf Mon Sep 17 00:00:00 2001 From: kevaundray Date: Sun, 29 Oct 2023 20:00:27 +0000 Subject: [PATCH] cargo fmt --- tooling/nargo_toml/src/semver.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/nargo_toml/src/semver.rs b/tooling/nargo_toml/src/semver.rs index 11fe60d6c70..8ee80858f31 100644 --- a/tooling/nargo_toml/src/semver.rs +++ b/tooling/nargo_toml/src/semver.rs @@ -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() }