Merge pull request #2395 from leptos-rs/int-ax-doc

This commit is contained in:
Greg Johnston 2024-03-01 20:08:18 -05:00 committed by GitHub
commit d72b12524e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,9 +87,9 @@ impl ResponseParts {
///
/// If you provide your own handler, you will need to provide `ResponseOptions` via context
/// yourself if you want to access it via context.
/// ```rust
/// ```rust,ignore
/// #[server]
/// pub async fn get_opts() -> Result<(),ServerFnError> {
/// pub async fn get_opts() -> Result<(), ServerFnError> {
/// let opts = expect_context::<leptos_axum::ResponseOptions>();
/// Ok(())
/// }