mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-30 13:42:24 +03:00
fix warnings
This commit is contained in:
parent
c48c39caaf
commit
758cf88de7
@ -51,7 +51,7 @@ impl OutputBytes {
|
||||
|
||||
// Return an error if we do not have enough return registers
|
||||
if register_values.len() < return_values.len() {
|
||||
return Err(OutputBytesError::not_enough_registers(span.clone()));
|
||||
return Err(OutputBytesError::not_enough_registers(span));
|
||||
}
|
||||
|
||||
// Manually construct result string
|
||||
|
@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with the Leo library. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use crate::{assert_satisfied, expect_compiler_error, get_output, parse_program_with_input};
|
||||
use crate::{expect_compiler_error, get_output, parse_program_with_input};
|
||||
|
||||
#[test]
|
||||
fn test_registers_pass() {
|
||||
|
Loading…
Reference in New Issue
Block a user