config: silence clippy warning

This commit is contained in:
Carson M.
2026-02-28 00:36:38 -06:00
parent fb29790415
commit 0fe5b252fd

View File

@@ -1 +1,5 @@
msrv = "1.88"
# BuilderResult is large because it's Result<SessionBuilder, Error<SessionBuilder>>. But rustc optimizes the struct layout
# of BuilderResult such that the error SessionBuilder and ok SessionBuilder take up the same space in memory, so the
# error variant is actually only 8 extra bytes. We increase the threshold here to effectively ignore clippy::result_large_err.
large-error-threshold = 160