mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-12 03:01:09 +00:00
Address David's comments
This commit is contained in:
@@ -46,8 +46,8 @@ macro_rules! id_type {
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
//! Mostly we're just checking that everything compiles OK
|
||||
//! when the macro is used as expected..
|
||||
// Mostly we're just checking that everything compiles OK
|
||||
// when the macro is used as expected..
|
||||
|
||||
// A basic definition is possible:
|
||||
id_type! {
|
||||
|
||||
@@ -148,7 +148,7 @@ where
|
||||
self.total
|
||||
}
|
||||
|
||||
/// Fetch the current time source, incase we need to modify it.
|
||||
/// Fetch the current time source, in case we need to modify it.
|
||||
pub fn time_source(&mut self) -> &mut Time {
|
||||
&mut self.time_source
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user