Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Frando committed May 15, 2024
1 parent f3a4b1a commit 168a228
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions iroh/src/client/authors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ where
Ok(res.author_id)
}

/// Get the default document author of this node.
/// Returns the default document author of this node.
///
/// On persistent nodes, a new author is created on first start and its public key is saved
/// in the data directory. For in-memory nodes, the default author is a random, new author.
/// On persistent nodes, the author is created on first start and its public key is saved
/// in the data directory.
///
/// The default author can neither be changed nor deleted. If you need more semantics around
/// authors than a single author per node, use [`Self::create`].
Expand Down Expand Up @@ -71,7 +71,7 @@ where
///
/// Warning: This permanently removes this author.
///
/// Deleting the default author is not supported.
/// Returns an error if attempting to delete the default author.
pub async fn delete(&self, author: AuthorId) -> Result<()> {
self.rpc.rpc(AuthorDeleteRequest { author }).await??;
Ok(())
Expand Down

0 comments on commit 168a228

Please sign in to comment.