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

[WIP] Chrome DevTools Protocol implementation #18133

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Add type annotation to gfx::display_list

rustc 1.21.0-nightly (ab40a7cb0 2017-08-13) rejects unless this is present.
  • Loading branch information
spinda committed Aug 21, 2017
commit aa1413ba2d835e93fde9a81676265c7c72fa13e2
@@ -1414,7 +1414,7 @@ pub trait SimpleMatrixDetection {
impl SimpleMatrixDetection for Transform3D<f32> {
#[inline]
fn is_identity_or_simple_translation(&self) -> bool {
let (_0, _1) = (Zero::zero(), One::one());
let (_0, _1): (f32, f32) = (Zero::zero(), One::one());
self.m11 == _1 && self.m12 == _0 && self.m13 == _0 && self.m14 == _0 &&
self.m21 == _0 && self.m22 == _1 && self.m23 == _0 && self.m24 == _0 &&
self.m31 == _0 && self.m32 == _0 && self.m33 == _1 && self.m34 == _0 &&
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.