mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Remove unnecessary borrows (#810)
This commit is contained in:
parent
9f13bca6b8
commit
cd14ea7c62
3 changed files with 4 additions and 4 deletions
2
build.rs
2
build.rs
|
|
@ -46,7 +46,7 @@ fn main() -> Result<(), anyhow::Error> {
|
|||
|
||||
let our_version = Version::parse(env::var_os("CARGO_PKG_VERSION").unwrap().to_str().unwrap())?;
|
||||
let plugin_version =
|
||||
Version::parse(fs::read_to_string(&plugin_root.join("Version.txt"))?.trim())?;
|
||||
Version::parse(fs::read_to_string(plugin_root.join("Version.txt"))?.trim())?;
|
||||
|
||||
assert!(
|
||||
our_version.major == plugin_version.major,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue