bors-servo 0d5cc0faee Auto merge of #229 - waywardmonkeys:remove-2-transmutes, r=jrmuizel
core-foundation: Remove 2 transmutes in macros.

These transmutes were going from one type of pointer to another,
and so can be done as casts instead.

Doing so also means that one unsafe block can be removed.

This was found via clippy.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-foundation-rs/229)
<!-- Reviewable:end -->
2018-07-20 11:43:33 -04:00
2018-07-16 17:13:10 +02:00
2018-07-20 11:34:00 -04:00
2018-02-01 15:57:28 -05:00
2013-04-04 19:01:35 -07:00
2013-04-03 18:18:52 -07:00
2013-04-03 18:18:52 -07:00
2017-08-08 14:31:38 +01:00

core-foundation-rs

Build Status

Compatibility

By default it targets macOS 10.7.

To enable features added in macOS 10.8, set Cargo feature mac_os_10_8_features. To have both 10.8 features and 10.7 compatibility, also set mac_os_10_7_support. Setting both requires weak linkage, which is is a nighty-only feature as of Rust 1.19.

S
Description
No description provided
Readme 2.5 MiB
Languages
Rust 100%