Added <> around URLs
This commit is contained in:
parent
c9a0979c51
commit
18b195340a
2 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ use crate::models::error::Error::DiscordNotFound;
|
||||||
|
|
||||||
/// Client used to communicate with Discord through IPC.
|
/// Client used to communicate with Discord through IPC.
|
||||||
pub struct DiscordClient {
|
pub struct DiscordClient {
|
||||||
/// ID of Discord Application, see https://discord.com/developers for more info
|
/// ID of Discord Application, see <https://discord.com/developers> for more info
|
||||||
pub id: String,
|
pub id: String,
|
||||||
socket: Option<UnixStream>,
|
socket: Option<UnixStream>,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ use crate::models::activity_data::{
|
||||||
use serde::Serialize;
|
use serde::Serialize;
|
||||||
|
|
||||||
/// Represents a Discord Activity object to be send to Discord application.
|
/// Represents a Discord Activity object to be send to Discord application.
|
||||||
/// See https://discord.com/developers/docs/game-sdk/activities#data-models for more information.
|
/// See <https://discord.com/developers/docs/game-sdk/activities#data-models> for more information.
|
||||||
#[derive(Serialize, Debug)]
|
#[derive(Serialize, Debug)]
|
||||||
pub struct Activity {
|
pub struct Activity {
|
||||||
/// Name of the Discord Application - Read Only.
|
/// Name of the Discord Application - Read Only.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue