Remove other from docs

This commit is contained in:
Grafcube 2023-04-04 10:55:00 +05:30
parent 9fcb67d211
commit 34992aa081
No known key found for this signature in database
GPG key ID: E383688F2878A440

View file

@ -112,11 +112,9 @@ pub fn build_webfinger_response(subject: String, url: Url) -> Webfinger {
/// let subject = "acct:nutomic@lemmy.ml".to_string();
/// let user = Url::parse("https://lemmy.ml/u/nutomic")?;
/// let group = Url::parse("https://lemmy.ml/c/asklemmy")?;
/// let other = Url::parse("https://lemmy.ml/c/memes")?;
/// build_webfinger_response_with_type(subject, vec![
/// (user, Some("Person")),
/// (group, Some("Group")),
/// (other, None)]);
/// (group, Some("Group"))]);
/// # Ok::<(), anyhow::Error>(())
/// ```
pub fn build_webfinger_response_with_type(