bolts::cpu: fix docs link (#264)

This commit is contained in:
Fabian Freyer 2021-08-15 07:08:37 +02:00 committed by GitHub
parent 511237ce9e
commit 6435af3419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ pub fn read_time_counter() -> u64 {
/// ///
/// This function is a wrapper around different ways to get a timestamp, fast /// This function is a wrapper around different ways to get a timestamp, fast
/// In this way, an experiment only has to /// In this way, an experiment only has to
/// change this implementation rather than every instead of [`cpu::read_time_counter`] /// change this implementation rather than every instead of [`read_time_counter`]
/// On unsupported architectures, it's falling back to normal system time, in millis. /// On unsupported architectures, it's falling back to normal system time, in millis.
#[cfg(not(any(target_arch = "x86_64", target_arch = "x86")))] #[cfg(not(any(target_arch = "x86_64", target_arch = "x86")))]
pub fn read_time_counter() -> u64 { pub fn read_time_counter() -> u64 {