We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f0b6a commit e67986eCopy full SHA for e67986e
src/hostfxr/managed_function.rs
@@ -1,9 +1,9 @@
1
-use std::{ops::Deref, fmt::Debug};
+use std::{fmt::Debug, ops::Deref};
2
3
/// A wrapper around a managed function pointer.
4
pub struct ManagedFunction<F: ManagedFunctionPtr>(pub(crate) F);
5
6
-impl <F: ManagedFunctionPtr> Debug for ManagedFunction<F> {
+impl<F: ManagedFunctionPtr> Debug for ManagedFunction<F> {
7
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
8
f.debug_struct("ManagedFunction")
9
.field("ptr", &self.0.as_ptr())
0 commit comments