mirror of
https://github.com/aljazceru/pubky-core.git
synced 2026-02-21 22:14:23 +01:00
fix(pubky): bad method documentation
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// TODO: deny missing docs.
|
||||
// #![deny(missing_docs)]
|
||||
#![deny(rustdoc::broken_intra_doc_links)]
|
||||
// TODO: deny unwrap
|
||||
// TODO: deny unwrap only in test
|
||||
#![cfg_attr(any(), deny(clippy::unwrap_used))]
|
||||
|
||||
macro_rules! cross_debug {
|
||||
|
||||
@@ -50,7 +50,7 @@ impl ClientBuilder {
|
||||
self
|
||||
}
|
||||
|
||||
/// Create a [mainline::DhtBuilder] if `None`, and allows mutating it with a callback function.
|
||||
/// Allows mutating the internal [pkarr::ClientBuilder] with a callback function.
|
||||
pub fn pkarr<F>(&mut self, f: F) -> &mut Self
|
||||
where
|
||||
F: FnOnce(&mut pkarr::ClientBuilder) -> &mut pkarr::ClientBuilder,
|
||||
|
||||
Reference in New Issue
Block a user