mirror of
https://github.com/servo/servo.git
synced 2025-08-30 01:28:21 +01:00
cargo fix --edition
This commit is contained in:
parent
86f148fb97
commit
45f7199eee
503 changed files with 5038 additions and 5037 deletions
|
@ -2,8 +2,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use api::{self, EventLoopWaker, InitOptions, ServoGlue, SERVO, HostTrait, ReadFileTrait};
|
||||
use gl_glue;
|
||||
use crate::api::{self, EventLoopWaker, InitOptions, ServoGlue, SERVO, HostTrait, ReadFileTrait};
|
||||
use crate::gl_glue;
|
||||
use servo::gl;
|
||||
use std::ffi::{CStr, CString};
|
||||
use std::mem;
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
#![allow(non_snake_case)]
|
||||
|
||||
use android_logger::{self, Filter};
|
||||
use api::{self, EventLoopWaker, InitOptions, ServoGlue, SERVO, HostTrait, ReadFileTrait};
|
||||
use gl_glue;
|
||||
use crate::api::{self, EventLoopWaker, InitOptions, ServoGlue, SERVO, HostTrait, ReadFileTrait};
|
||||
use crate::gl_glue;
|
||||
use jni::{errors, JNIEnv, JavaVM};
|
||||
use jni::objects::{GlobalRef, JClass, JObject, JString, JValue};
|
||||
use jni::sys::{jboolean, jfloat, jint, jstring, JNI_TRUE};
|
||||
|
|
|
@ -24,10 +24,10 @@ mod gl_glue;
|
|||
#[cfg(not(target_os = "android"))]
|
||||
mod capi;
|
||||
#[cfg(not(target_os = "android"))]
|
||||
pub use capi::*;
|
||||
pub use crate::capi::*;
|
||||
|
||||
// If Android, expose the JNI-API
|
||||
#[cfg(target_os = "android")]
|
||||
mod jniapi;
|
||||
#[cfg(target_os = "android")]
|
||||
pub use jniapi::*;
|
||||
pub use crate::jniapi::*;
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use euclid::{TypedPoint2D, TypedVector2D};
|
||||
use glutin_app::keyutils::{CMD_OR_CONTROL, CMD_OR_ALT};
|
||||
use glutin_app::window::{Window, LINE_HEIGHT};
|
||||
use crate::glutin_app::keyutils::{CMD_OR_CONTROL, CMD_OR_ALT};
|
||||
use crate::glutin_app::window::{Window, LINE_HEIGHT};
|
||||
use keyboard_types::{Key, KeyboardEvent, Modifiers, ShortcutMatcher};
|
||||
use servo::compositing::windowing::{WebRenderDebugOption, WindowEvent};
|
||||
use servo::embedder_traits::{EmbedderMsg, FilterPattern};
|
||||
|
|
|
@ -50,7 +50,7 @@ use std::thread;
|
|||
|
||||
pub mod platform {
|
||||
#[cfg(target_os = "macos")]
|
||||
pub use platform::macos::deinit;
|
||||
pub use crate::platform::macos::deinit;
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
pub mod macos;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue