Skip to content

Commit

Permalink
Fix the notice of field
Browse files Browse the repository at this point in the history
The inline aspect must be always provided.
  • Loading branch information
arqunis committed Jun 24, 2018
1 parent eae624e commit 5b66ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder/create_embed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl CreateEmbed {
/// add to them.
///
/// **Note**: Maximum amount of characters you can put is 256 in a field
/// name and 1024 in a field value and a field is inline by default.
/// name and 1024 in a field value.
pub fn field<T, U>(mut self, name: T, value: U, inline: bool) -> Self
where T: Display, U: Display {
{
Expand Down

0 comments on commit 5b66ace

Please sign in to comment.