chore: fix clippy issues
This commit is contained in:
parent
2bb482d9ec
commit
8ed87c5f17
|
@ -237,7 +237,7 @@ impl From<NamedDeBruijn> for FakeNamedDeBruijn {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Represents a debruijn index.
|
/// Represents a debruijn index.
|
||||||
#[derive(Debug, Clone, PartialEq, Copy)]
|
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
|
||||||
pub struct DeBruijn(usize);
|
pub struct DeBruijn(usize);
|
||||||
|
|
||||||
impl DeBruijn {
|
impl DeBruijn {
|
||||||
|
|
|
@ -5,7 +5,7 @@ use flat_rs::de;
|
||||||
/// All the possible builtin functions in Untyped Plutus Core.
|
/// All the possible builtin functions in Untyped Plutus Core.
|
||||||
#[repr(u8)]
|
#[repr(u8)]
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
#[derive(Debug, Clone, PartialEq, Copy)]
|
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
|
||||||
pub enum DefaultFunction {
|
pub enum DefaultFunction {
|
||||||
// Integer functions
|
// Integer functions
|
||||||
AddInteger = 0,
|
AddInteger = 0,
|
||||||
|
|
|
@ -3,7 +3,7 @@ use crate::builtins::DefaultFunction;
|
||||||
use super::Value;
|
use super::Value;
|
||||||
|
|
||||||
/// Can be negative
|
/// Can be negative
|
||||||
#[derive(Debug, Clone, PartialEq, Copy)]
|
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
|
||||||
pub struct ExBudget {
|
pub struct ExBudget {
|
||||||
pub mem: i64,
|
pub mem: i64,
|
||||||
pub cpu: i64,
|
pub cpu: i64,
|
||||||
|
|
Loading…
Reference in New Issue