Replaced ref_slice::ref_slice with std::slice::from_ref

ref_slice::ref_slice is deprecated in ref_slice-1.2.1,
because it's redundant with std since rust 1.28.

Signed-off-by: Adrian Willenbücher <willenbuecher@xq-tec.com>
This commit is contained in:
Adrian Willenbücher 2021-06-10 20:56:41 +02:00
parent b80b3ea02c
commit 0917dc4e87
4 changed files with 7 additions and 15 deletions

7
Cargo.lock generated
View file

@ -4948,12 +4948,6 @@ version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b5ceb840e4009da4841ed22a15eb49f64fdd00a2138945c5beacf506b2fb5ed"
[[package]]
name = "ref_slice"
version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e1b7878800220a76a08f32c057829511440f65528b63b940f2f2bc145d7ac68"
[[package]]
name = "regex"
version = "1.4.5"
@ -5162,7 +5156,6 @@ dependencies = [
"pixels",
"profile_traits",
"ref_filter_map",
"ref_slice",
"regex",
"script_layout_interface",
"script_plugins",