fix(tvix/nix-compat): drop unnecessary reference taking
Found by Clippy, which we should probably run in CI. Change-Id: Id79c30b63f681021ab79358e02d29454d43c0aa6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9614 Autosubmit: edef <edef@edef.eu> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
parent
910adb50b8
commit
17d6f4320f
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ pub enum Error {
|
|||
InvalidLength(),
|
||||
#[error(
|
||||
"Invalid name: \"{}\", character at position {} is invalid",
|
||||
std::str::from_utf8(&.0).unwrap_or(&BASE64.encode(.0)),
|
||||
std::str::from_utf8(.0).unwrap_or(&BASE64.encode(.0)),
|
||||
.1,
|
||||
)]
|
||||
InvalidName(Vec<u8>, usize),
|
||||
|
|
Loading…
Reference in a new issue