mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 15:51:23 +01:00
enable dead_code lint
And delete all the dead code. And add some cfgs for feature-specific items.
This commit is contained in:
parent
d748544f0e
commit
2ff08c9fc4
8 changed files with 6 additions and 52 deletions
|
|
@ -399,10 +399,6 @@ impl Service {
|
|||
r
|
||||
}
|
||||
|
||||
pub(crate) fn well_known_client(&self) -> &Option<String> {
|
||||
&self.config.well_known_client
|
||||
}
|
||||
|
||||
pub(crate) fn shutdown(&self) {
|
||||
self.shutdown.store(true, atomic::Ordering::Relaxed);
|
||||
// On shutdown
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue