From: Tilman Sauerbeck Date: Thu, 9 Jan 2020 11:03:07 +0000 (+0100) Subject: common: Make Logger::storage public. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=9b597c27de391182ec515bc125451933d5340067;p=gps-watch.git common: Make Logger::storage public. This is required to avoid some multiple mutable borrow issues in the upcoming changesets. --- diff --git a/src/common/logger.rs b/src/common/logger.rs index 23c40a1..2154a01 100644 --- a/src/common/logger.rs +++ b/src/common/logger.rs @@ -104,7 +104,7 @@ impl InFlight { } pub struct Logger<'a> { - storage: &'a mut dyn Storage, + pub storage: &'a mut dyn Storage, recording_id: u16, // Zero is considered invalid.