File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -338,18 +338,15 @@ fn php_enum_internal(_args: TokenStream2, input: TokenStream2) -> TokenStream2 {
338338///
339339/// ## Options
340340///
341- /// By default all constants are renamed to `UPPER_CASE` and all methods are
342- /// renamed to `camelCase`. This can be changed by passing the
343- /// `change_method_case` and `change_constant_case` as `#[php]` attributes on
344- /// the `impl` block. The options are:
341+ /// By default all constants are renamed to `UPPER_CASE` and all methods are renamed to
342+ /// `camelCase`. This can be changed by passing the `change_method_case` and
343+ /// `change_constant_case` as `#[php]` attributes on the `impl` block. The options are:
345344///
346- /// - `#[php(change_method_case = "snake_case")]` - Renames the method to snake
347- /// case.
348- /// - `#[php(change_constant_case = "snake_case")]` - Renames the constant to
349- /// snake case.
345+ /// - `#[php(change_method_case = "snake_case")]` - Renames the method to snake case.
346+ /// - `#[php(change_constant_case = "snake_case")]` - Renames the constant to snake case.
350347///
351- /// See the [`name` and `change_case`](./php.md#name-and-change_case) section
352- /// for a list of all available cases.
348+ /// See the [`name` and `change_case`](./php.md#name-and-change_case) section for a list of all
349+ /// available cases.
353350///
354351/// ## Methods
355352///
@@ -404,6 +401,7 @@ fn php_enum_internal(_args: TokenStream2, input: TokenStream2) -> TokenStream2 {
404401///
405402/// }
406403/// }
404+ ///
407405/// ```
408406// END DOCS FROM interface.md
409407#[ proc_macro_attribute]
You can’t perform that action at this time.
0 commit comments