Fix deprecation warnings
Merge branch 'master' into lifetimes
Remove deprecated Vec::from_slice()