Skip to content

Commit

Permalink
Added missing async modifier in example
Browse files Browse the repository at this point in the history
  • Loading branch information
ANF-Studios committed Jan 24, 2021
1 parent 9a785c8 commit 0dd6e54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ pub mod paste {
/// use pastemyst::paste::*;
///
/// #[tokio::main]
/// fn main() -> PasteResult<()> {
/// async fn main() -> PasteResult<()> {
/// let paste_del_result = delete_paste(
/// "PasteID",
/// "Your PasteMyst Token. Get it from: https://paste.myst.rs/user/settings",
Expand Down

0 comments on commit 0dd6e54

Please sign in to comment.