diff options
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/store/src/proto/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/store/src/proto/mod.rs b/tvix/store/src/proto/mod.rs index ae5054df5473..fceb6b5902df 100644 --- a/tvix/store/src/proto/mod.rs +++ b/tvix/store/src/proto/mod.rs @@ -198,8 +198,8 @@ impl NamedNode for node::Node { /// Accepts a name, and a mutable reference to the previous name. /// If the passed name is larger than the previous one, the reference is updated. /// If it's not, an error is returned. -fn update_if_lt_prev<'set, 'n>( - prev_name: &'set mut &'n str, +fn update_if_lt_prev<'n>( + prev_name: &mut &'n str, name: &'n str, ) -> Result<(), ValidateDirectoryError> { if *name < **prev_name { |