mirror of
https://github.com/ProvableHQ/leo.git
synced 2025-01-04 08:13:17 +03:00
clippy: allow some instances of ptr_arg
Signed-off-by: ljedrz <ljedrz@gmail.com>
This commit is contained in:
parent
ea3542b30e
commit
e6e6e9c234
@ -95,6 +95,7 @@ impl Input {
|
||||
}
|
||||
|
||||
/// Returns the main function input value with the given `name`
|
||||
#[allow(clippy::ptr_arg)]
|
||||
pub fn get(&self, name: &String) -> Option<Option<InputValue>> {
|
||||
self.program_input.get(name)
|
||||
}
|
||||
|
@ -65,6 +65,7 @@ impl ProgramInput {
|
||||
}
|
||||
|
||||
/// Returns the main function input value with the given `name`
|
||||
#[allow(clippy::ptr_arg)]
|
||||
pub fn get(&self, name: &String) -> Option<Option<InputValue>> {
|
||||
self.main.get(name)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user