Skip to content

Replace ring::polyfill::fill_from_slice with use of <[T]>::clone_from_slice() #136

@briansmith

Description

@briansmith

See http://blog.rust-lang.org/2016/03/02/Rust-1.7.html. <[T]>::clone_from_slice() was stabilized in Rust 1.7, which is now the minimum supported version in ring.

Note that clone_from_slice may not actually get optimized as well as fill_from_slice does. If that is found to be the case, then we'll have to wait for rust-lang/rust#31755 to be resolved.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions