We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c24ca0 + cebcb0c commit d5b0a86Copy full SHA for d5b0a86
scylla/src/transport/locator/tablets.rs
@@ -210,6 +210,12 @@ pub(crate) struct Tablet {
210
}
211
212
impl Tablet {
213
+ // Ignore clippy lints here. Clippy suggests to
214
+ // Box<> `Err` variant, because it's too large. It does not
215
+ // make much sense to do so, looking at the caller of this function.
216
+ // Tablet returned in `Err` variant is used as if no error appeared.
217
+ // The only difference is that we use node ids to emit some debug logs.
218
+ #[allow(clippy::result_large_err)]
219
pub(crate) fn from_raw_tablet(
220
raw_tablet: RawTablet,
221
replica_translator: impl Fn(Uuid) -> Option<Arc<Node>>,
0 commit comments