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 abd134f commit bd3a0adCopy full SHA for bd3a0ad
gdnative-core/src/nativescript/macros.rs
@@ -334,7 +334,7 @@ macro_rules! godot_wrap_method {
334
/// ```rust
335
/// # fn main() {
336
/// use gdnative_core::profile_sig;
337
-/// use gdnative_core::nativescript::profiling::profile;
+/// use gdnative_core::nativescript::profiler::profile;
338
///
339
/// let answer = profile(profile_sig!("foo"), || 42);
340
/// assert_eq!(42, answer);
gdnative-core/src/nativescript/mod.rs
@@ -17,7 +17,7 @@ pub(crate) mod class_registry;
17
pub(crate) mod type_tag;
18
19
pub mod init;
20
-pub mod profiling;
+pub mod profiler;
21
pub mod user_data;
22
23
pub use class::*;
gdnative-core/src/nativescript/profiling.rs renamed to gdnative-core/src/nativescript/profiler.rs
0 commit comments