This commit is contained in:
Andrea Fioraldi 2022-01-10 13:34:24 +01:00
parent 180883acb7
commit de5264efad

View File

@ -7,7 +7,7 @@ use core::any::TypeId;
use xxhash_rust::xxh3::xxh3_64;
#[rustversion::nightly]
/// From https://stackoverflow.com/a/60138532/7658998
/// From <https://stackoverflow.com/a/60138532/7658998>
const fn type_eq<T: ?Sized, U: ?Sized>() -> bool {
// Helper trait. `VALUE` is false, except for the specialization of the
// case where `T == U`.