| commit | 7da38209bfd4977e825ed67bdb83ae0b8aa4fb4c | [log] [tgz] |
|---|---|---|
| author | David Tolnay <dtolnay@gmail.com> | Fri Nov 27 17:36:16 2020 -0800 |
| committer | David Tolnay <dtolnay@gmail.com> | Fri Nov 27 18:09:44 2020 -0800 |
| tree | bf11441aa71cf0e61072e3801683f3e453c5a885 | |
| parent | a05f9402db07ff1dcc58657b03f079eaca636929 [diff] [blame] |
Support derive(Hash)
diff --git a/syntax/mangle.rs b/syntax/mangle.rs index 26cd3c0..0d395e3 100644 --- a/syntax/mangle.rs +++ b/syntax/mangle.rs
@@ -26,7 +26,13 @@ } pub fn operator(receiver: &Pair, operator: &'static str) -> Symbol { - join!(receiver.namespace, CXXBRIDGE, receiver.cxx, "operator", operator) + join!( + receiver.namespace, + CXXBRIDGE, + receiver.cxx, + "operator", + operator, + ) } // The C half of a function pointer trampoline.