Skip to content

Commit

Permalink
Fixes #15
Browse files Browse the repository at this point in the history
  • Loading branch information
ANF-Studios committed Jan 14, 2021
1 parent 701e22b commit 72d075b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.MD
Expand Up @@ -42,7 +42,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
},
];
let data: CreateObject = CreateObject {
title: String::from("This is a paste title"),
title: String::from("[crates.io/crates/pastemyst] This is a title"),
expiresIn: String::from("1d"),
isPrivate: false,
isPublic: false,
Expand Down
2 changes: 1 addition & 1 deletion examples/ceate_paste_async.rs
Expand Up @@ -22,7 +22,7 @@ async fn main() -> Result<()> {
},
];
let data: CreateObject = CreateObject {
title: String::from("This is a paste title"),
title: String::from("[crates.io/crates/pastemyst] This is a title"),
expiresIn: String::from("1d"),
isPrivate: false,
isPublic: false,
Expand Down
2 changes: 1 addition & 1 deletion examples/create_paste.rs
Expand Up @@ -17,7 +17,7 @@ fn main() -> Result<(), reqwest::Error> /*PasteResult<()>*/ {
},
];
let data: CreateObject = CreateObject {
title: String::from("This is a paste title"),
title: String::from("[crates.io/crates/pastemyst] This is a title"),
expiresIn: String::from("1d"),
isPrivate: false,
isPublic: false,
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Expand Up @@ -163,7 +163,7 @@ pub mod paste {
/// },
/// ];
/// let data: CreateObject = CreateObject {
/// title: String::from("This is a title"),
/// title: String::from("[crates.io/crates/pastemyst] This is a title"),
/// expiresIn: String::from("1d"),
/// isPrivate: false,
/// isPublic: false,
Expand Down Expand Up @@ -214,7 +214,7 @@ pub mod paste {
/// },
/// ];
/// let data: CreateObject = CreateObject {
/// title: String::from("This is a title"),
/// title: String::from("[crates.io/crates/pastemyst] This is a title"),
/// expiresIn: String::from("1d"),
/// isPrivate: false,
/// isPublic: false,
Expand Down

0 comments on commit 72d075b

Please sign in to comment.