Skip to content

Commit 4489de7

Browse files
committed
fix typo in docstring
1 parent 088a549 commit 4489de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/capability.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use std::hash::{Hash, Hasher};
99
/// that capability with the receiving process, or to prove that a process has
1010
/// authority to perform a certain action.
1111
impl Capability {
12-
/// Create a new `Capability`. Takes a node ID and a process ID.
12+
/// Create a new [`Capability`]. Takes an [`Address`] and a parameter, which is a JSON string.
1313
pub fn new<T, U>(address: T, params: U) -> Capability
1414
where
1515
T: Into<Address>,

0 commit comments

Comments
 (0)