Skip to content

Commit b203adb

Browse files
committed
remove unneeded &
1 parent 4b4b34c commit b203adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

capnp-rpc/src/rpc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ fn to_pipeline_ops(
354354
}
355355

356356
fn from_error(error: &Error, mut builder: exception::Builder) {
357-
builder.set_reason(&error.to_string());
357+
builder.set_reason(error.to_string());
358358
let typ = match error.kind {
359359
::capnp::ErrorKind::Failed => exception::Type::Failed,
360360
::capnp::ErrorKind::Overloaded => exception::Type::Overloaded,

0 commit comments

Comments
 (0)