Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compiler warning regarding future errors
As preparation for an upcoming Rust compiler release, the following warning was generated and needed to be fixed: warning: this function depends on never type fallback being `()` --> src/lib.rs:220:1 | 220 | fn bump(version: String) -> Result<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #123748 <rust-lang/rust#123748> = help: specify the types explicitly note: in edition 2024, the requirement `!: LuaUserData` will fail --> src/lib.rs:241:22 | 241 | .call(()) | ^^^^ = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default
- Loading branch information