Skip to content

Commit

Permalink
remove unneeded &
Browse files Browse the repository at this point in the history
  • Loading branch information
dwrensha committed May 27, 2024
1 parent 4b4b34c commit b203adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capnp-rpc/src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ fn to_pipeline_ops(
}

fn from_error(error: &Error, mut builder: exception::Builder) {
builder.set_reason(&error.to_string());
builder.set_reason(error.to_string());
let typ = match error.kind {
::capnp::ErrorKind::Failed => exception::Type::Failed,
::capnp::ErrorKind::Overloaded => exception::Type::Overloaded,
Expand Down

0 comments on commit b203adb

Please sign in to comment.