Skip to content

Commit

Permalink
✨ Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nwrenger committed Aug 16, 2024
1 parent c1d5111 commit 9acc70b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ impl syn::parse::Parse for MetadataAttr {
///
/// // Use the `generate` macro to create the API client and router
/// let _app: Router<()> = generate! {
/// // prefix = "" // Can be omitted by being the same as the default value
/// prefix = "" // Sets the prefix to `""`
/// // This can be omitted due to being the same as the default value
/// routes = { // Defines the API routes
/// "/" = get(root), // Route for the root path, using the `root` handler for GET requests
/// },
Expand Down

0 comments on commit 9acc70b

Please sign in to comment.