chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e611b7f
)
Make ServerConfig not be Clone
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 24 Apr 2022 21:10:41 +0000
(22:10 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 25 Apr 2022 00:13:08 +0000
(
01:13
+0100)
We're going to put GlobalClock in it. It doesn't actually want to be
Clone since it's a singleton.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/config.rs
patch
|
blob
|
history
diff --git
a/src/config.rs
b/src/config.rs
index c9ba67451e5d02871516e42a0dbf614053b6400c..48dda41dc01639fc47b42ee1092155d5de327d11 100644
(file)
--- a/
src/config.rs
+++ b/
src/config.rs
@@
-59,7
+59,7
@@
pub struct WholeServerConfig {
log: LogSpecification,
}
-#[derive(Debug
,Clone
)]
+#[derive(Debug)]
pub struct ServerConfig {
save_dir: String,
pub command_socket: String,