Skip to content

Commit

Permalink
fix: blog redirect link, async-trait (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-mo-143 authored Dec 24, 2024
1 parent f9a06be commit 23f4979
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions migrations/frameworks/custom-service.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ To get started, you can use the following code below:
```rust data.rs
pub struct DataStruct;

#[shuttle_runtime::async_trait]
impl shuttle_runtime::Service for DataStruct {
async fn bind(
mut self,
Expand Down Expand Up @@ -72,6 +73,7 @@ async fn loop() {
}
}

#[shuttle_runtime::async_trait]
impl shuttle_runtime::Service for DataStruct {
async fn bind(
mut self,
Expand Down
2 changes: 1 addition & 1 deletion mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
},
{
"name": "Blog",
"url": "https://www.shuttle.dev/blog/"
"url": "https://www.shuttle.dev/blog/tags/all"
}
],
"navigation": [
Expand Down

0 comments on commit 23f4979

Please sign in to comment.