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.
|
||||
#[derive(Debug, Clone, PartialEq, Copy)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
|
||||
pub struct DeBruijn(usize);
|
||||
|
||||
impl DeBruijn {
|
||||
|
|
|
@ -5,7 +5,7 @@ use flat_rs::de;
|
|||
/// All the possible builtin functions in Untyped Plutus Core.
|
||||
#[repr(u8)]
|
||||
#[allow(non_camel_case_types)]
|
||||
#[derive(Debug, Clone, PartialEq, Copy)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
|
||||
pub enum DefaultFunction {
|
||||
// Integer functions
|
||||
AddInteger = 0,
|
||||
|
|
|
@ -3,7 +3,7 @@ use crate::builtins::DefaultFunction;
|
|||
use super::Value;
|
||||
|
||||
/// Can be negative
|
||||
#[derive(Debug, Clone, PartialEq, Copy)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, Copy)]
|
||||
pub struct ExBudget {
|
||||
pub mem: i64,
|
||||
pub cpu: i64,
|
||||
|
|
Loading…
Reference in New Issue