mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Use local slice_chars
StrExt::slice_chars is deprecated and will be removed in Rust. This lifts the implementation from Rust libstd and puts it in util::str. This fixes a bunch of deprecation warnings in Servo.
This commit is contained in:
parent
ca9f9226b0
commit
dae1a398a4
7 changed files with 41 additions and 17 deletions
|
@ -13,7 +13,6 @@
|
|||
#![feature(mpsc_select)]
|
||||
#![feature(plugin)]
|
||||
#![feature(raw)]
|
||||
#![feature(slice_chars)]
|
||||
#![feature(step_by)]
|
||||
#![feature(str_char)]
|
||||
#![feature(unsafe_no_drop_flag)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue