Skip to content

Commit 836dec2

Browse files
committed
fix doc tests
1 parent ce03749 commit 836dec2

File tree

1 file changed

+2
-0
lines changed
  • rust/rbac-registration/src/cardano/cip509/utils

1 file changed

+2
-0
lines changed

rust/rbac-registration/src/cardano/cip509/utils/cip134.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ impl Cip0134Uri {
5757
/// let uri = "web+cardano://addr/stake1uyehkck0lajq8gr28t9uxnuvgcqrc6070x3k9r8048z8y5gh6ffgw";
5858
/// let cip0134_uri = Cip0134Uri::parse(uri).unwrap();
5959
/// assert_eq!(cip0134_uri.uri(), uri);
60+
/// ```
6061
#[must_use]
6162
pub fn uri(&self) -> &str {
6263
&self.uri
@@ -76,6 +77,7 @@ impl Cip0134Uri {
7677
/// panic!("Unexpected address type");
7778
/// };
7879
/// assert_eq!(address.network(), Network::Mainnet);
80+
/// ```
7981
#[must_use]
8082
pub fn address(&self) -> &Address {
8183
&self.address

0 commit comments

Comments
 (0)