Address David's comments

This commit is contained in:
James Wilson
2021-08-11 17:23:22 +01:00
parent f26b39ac63
commit 80d6ad916e
6 changed files with 14 additions and 12 deletions
+2 -2
View File
@@ -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! {
+1 -1
View File
@@ -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
}