Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run clippy on public API too #2596

Merged
merged 12 commits into from
Jul 4, 2023
1 change: 1 addition & 0 deletions crates/re_sdk/src/msg_sender.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ impl MsgSender {

/// Consumes, packs, sanity checks and finally sends the message to the currently configured
/// target of the SDK.
#[allow(clippy::unnecessary_wraps)] // TODO(emilk): remove the Result?
emilk marked this conversation as resolved.
Show resolved Hide resolved
pub fn send(self, rec_stream: &RecordingStream) -> Result<(), DataTableError> {
if !rec_stream.is_enabled() {
return Ok(()); // silently drop the message
Expand Down