Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
khvzak committed Oct 20, 2024
1 parent d64d971 commit 5724b5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ impl<'scope, 'env: 'scope> Scope<'scope, 'env> {
/// `'static` types. This means that it is impossible, once the userdata is created, to get a
/// reference to it back *out* of an [`AnyUserData`] handle. This also implies that the
/// "function" type methods that can be added via [`UserDataMethods`] (the ones that accept
/// [`AnyUserData`] as a first parameter) are vastly less useful. Also, there is no way to re-use
/// a single metatable for multiple non-'static types, so there is a higher cost associated with
/// creating the userdata metatable each time a new userdata is created.
/// [`AnyUserData`] as a first parameter) are vastly less useful. Also, there is no way to
/// re-use a single metatable for multiple non-'static types, so there is a higher cost
/// associated with creating the userdata metatable each time a new userdata is created.
///
/// [`TypeId`]: std::any::TypeId
/// [`UserDataMethods`]: crate::UserDataMethods
Expand Down

0 comments on commit 5724b5f

Please sign in to comment.