clippy: fix redundant_static_lifetimes

Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
ljedrz 2020-10-05 16:53:29 +02:00
parent 266e6247e4
commit 98990721cf
2 changed files with 2 additions and 2 deletions

View File

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

View File

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