diff --git a/apps/desktop/desktop_native/autofill_provider/src/lib.rs b/apps/desktop/desktop_native/autofill_provider/src/lib.rs index 7c56bddd55b..079286e73e0 100644 --- a/apps/desktop/desktop_native/autofill_provider/src/lib.rs +++ b/apps/desktop/desktop_native/autofill_provider/src/lib.rs @@ -89,9 +89,9 @@ impl Display for BitwardenError { impl Error for BitwardenError {} -// TODO: These have to be named differently than the actual Uniffi traits otherwise -// the generated code will lead to ambiguous trait implementations -// These are only used internally, so it doesn't matter that much +// These methods are named differently than the actual Uniffi traits (without +// the `on_` prefix) to avoid ambiguous trait implementations in the generated +// code. trait Callback: Send + Sync { fn complete(&self, credential: serde_json::Value) -> Result<(), serde_json::Error>; fn error(&self, error: BitwardenError);