We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 088a549 commit 4489de7Copy full SHA for 4489de7
src/types/capability.rs
@@ -9,7 +9,7 @@ use std::hash::{Hash, Hasher};
9
/// that capability with the receiving process, or to prove that a process has
10
/// authority to perform a certain action.
11
impl Capability {
12
- /// Create a new `Capability`. Takes a node ID and a process ID.
+ /// Create a new [`Capability`]. Takes an [`Address`] and a parameter, which is a JSON string.
13
pub fn new<T, U>(address: T, params: U) -> Capability
14
where
15
T: Into<Address>,
0 commit comments