Skip to content

Commit a1bbb8b

Browse files
authored
Merge pull request #7 from swiftcoder/2018
2018 edition cleanup
2 parents b35bd95 + 35b4cb5 commit a1bbb8b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "Apache-2.0"
66
description = "Isosurface extraction algorithms"
77
repository = "https://github.com/swiftcoder/isosurface"
88
readme = "README.md"
9-
edition = '2018'
9+
edition = "2018"
1010

1111
[dev-dependencies]
1212
glium = "^0.26"

examples/deferred_rasterisation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ extern crate isosurface;
1919

2020
mod common;
2121

22+
use crate::common::reinterpret_cast_slice;
23+
use crate::common::sources::Torus;
2224
use cgmath::{vec3, Matrix4, Point3, SquareMatrix};
23-
use common::reinterpret_cast_slice;
24-
use common::sources::Torus;
2525
use glium::glutin;
2626
use glium::glutin::{
2727
dpi::LogicalSize,

examples/torus.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ extern crate isosurface;
2020

2121
mod common;
2222

23+
use crate::common::reinterpret_cast_slice;
24+
use crate::common::sources::{CubeSphere, Torus};
25+
use crate::common::text::layout_text;
2326
use cgmath::{vec3, Matrix4, Point3};
24-
use common::reinterpret_cast_slice;
25-
use common::sources::{CubeSphere, Torus};
26-
use common::text::layout_text;
2727
use glium::backend::Facade;
2828
use glium::draw_parameters::PolygonMode;
2929
use glium::glutin;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy