fix warnings

This commit is contained in:
collin 2021-01-08 20:08:14 -05:00
parent c48c39caaf
commit 758cf88de7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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() {