mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-28 01:01:53 +03:00
clippy: fix redundant_static_lifetimes
Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
parent
266e6247e4
commit
98990721cf
@ -29,7 +29,7 @@ use snarkos_models::{
|
||||
gadgets::r1cs::ConstraintSystem,
|
||||
};
|
||||
|
||||
static SELF_KEYWORD: &'static str = "self";
|
||||
static SELF_KEYWORD: &str = "self";
|
||||
|
||||
impl<F: Field + PrimeField, G: GroupType<F>> ConstrainedProgram<F, G> {
|
||||
pub fn enforce_circuit_access<CS: ConstraintSystem<F>>(
|
||||
|
@ -18,7 +18,7 @@ use crate::Span;
|
||||
|
||||
use std::{fmt, path::PathBuf};
|
||||
|
||||
pub const INDENT: &'static str = " ";
|
||||
pub const INDENT: &str = " ";
|
||||
|
||||
/// Formatted compiler error type
|
||||
/// --> file.leo 2:8
|
||||
|
Loading…
Reference in New Issue
Block a user