projects
/
gps-watch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f68ab85
)
common: Make Logger::storage public.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Thu, 9 Jan 2020 11:03:07 +0000
(12:03 +0100)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Thu, 9 Jan 2020 20:00:04 +0000
(21:00 +0100)
This is required to avoid some multiple mutable borrow issues
in the upcoming changesets.
src/common/logger.rs
patch
|
blob
|
history
diff --git
a/src/common/logger.rs
b/src/common/logger.rs
index 23c40a140d45c76945a069220b55e5ca495420d9..2154a01b7fd901fb24e2d68e900d3d44099449b2 100644
(file)
--- 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.