Skip to content

Commit d6c5cb5

Browse files
committed
Rename nativescript::profiling -> profiler
1 parent f58f658 commit d6c5cb5

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

gdnative-core/src/nativescript/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ macro_rules! godot_wrap_method {
334334
/// ```rust
335335
/// # fn main() {
336336
/// use gdnative_core::profile_sig;
337-
/// use gdnative_core::nativescript::profiling::profile;
337+
/// use gdnative_core::nativescript::profiler::profile;
338338
///
339339
/// let answer = profile(profile_sig!("foo"), || 42);
340340
/// assert_eq!(42, answer);

gdnative-core/src/nativescript/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub(crate) mod class_registry;
1717
pub(crate) mod type_tag;
1818

1919
pub mod init;
20-
pub mod profiling;
20+
pub mod profiler;
2121
pub mod user_data;
2222

2323
pub use class::*;

0 commit comments

Comments
 (0)