Skip to content

Commit 37f2b1d

Browse files
Move second mode of ownership below first one (#1418)
1 parent 875e863 commit 37f2b1d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

crates/guest-rust/src/lib.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -747,17 +747,6 @@ extern crate std;
747747
/// // more allocations than necessary.
748748
/// ownership: Owning,
749749
///
750-
/// // Specifies an alternative name for the `export!` macro generated for
751-
/// // any exports this world has.
752-
/// //
753-
/// // Defaults to "export"
754-
/// export_macro_name: "export",
755-
///
756-
/// // Indicates whether the `export!` macro is `pub` or just `pub(crate)`.
757-
/// //
758-
/// // This defaults to `false`.
759-
/// pub_export_macro: false,
760-
///
761750
/// // The second mode of ownership is "Borrowing". This mode then
762751
/// // additionally has a boolean flag indicating whether duplicate types
763752
/// // should be generated if necessary.
@@ -778,6 +767,17 @@ extern crate std;
778767
/// // case above if possible.
779768
/// ownership: Borrowing { duplicate_if_necessary: false },
780769
///
770+
/// // Specifies an alternative name for the `export!` macro generated for
771+
/// // any exports this world has.
772+
/// //
773+
/// // Defaults to "export"
774+
/// export_macro_name: "export",
775+
///
776+
/// // Indicates whether the `export!` macro is `pub` or just `pub(crate)`.
777+
/// //
778+
/// // This defaults to `false`.
779+
/// pub_export_macro: false,
780+
///
781781
/// // The generated `export!` macro, if any, will by default look for
782782
/// // generated types adjacent to where the `export!` macro is invoked
783783
/// // through the `self` module. This option can be used to change the

0 commit comments

Comments
 (0)