Skip to content

Commit 2a53226

Browse files
committed
Fix typo
1 parent 4a470d7 commit 2a53226

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

rust/src/project.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -748,8 +748,8 @@ impl Project {
748748
/// }
749749
/// ```
750750
// NOTE mut is used here, so only one lock can be aquired at once
751-
pub fn bulk_operation(&mut self) -> Result<ProjectBultOperationLock, ()> {
752-
Ok(ProjectBultOperationLock::lock(self))
751+
pub fn bulk_operation(&mut self) -> Result<ProjectBulkOperationLock, ()> {
752+
Ok(ProjectBulkOperationLock::lock(self))
753753
}
754754
}
755755

@@ -781,11 +781,11 @@ unsafe impl CoreArrayProviderInner for Project {
781781
}
782782
}
783783

784-
pub struct ProjectBultOperationLock<'a> {
784+
pub struct ProjectBulkOperationLock<'a> {
785785
lock: &'a mut Project,
786786
}
787787

788-
impl<'a> ProjectBultOperationLock<'a> {
788+
impl<'a> ProjectBulkOperationLock<'a> {
789789
pub fn lock(project: &'a mut Project) -> Self {
790790
unsafe { BNProjectBeginBulkOperation(project.as_raw()) };
791791
Self { lock: project }
@@ -796,14 +796,14 @@ impl<'a> ProjectBultOperationLock<'a> {
796796
}
797797
}
798798

799-
impl std::ops::Deref for ProjectBultOperationLock<'_> {
799+
impl std::ops::Deref for ProjectBulkOperationLock<'_> {
800800
type Target = Project;
801801
fn deref(&self) -> &Self::Target {
802802
self.lock
803803
}
804804
}
805805

806-
impl Drop for ProjectBultOperationLock<'_> {
806+
impl Drop for ProjectBulkOperationLock<'_> {
807807
fn drop(&mut self) {
808808
unsafe { BNProjectEndBulkOperation(self.lock.as_raw()) };
809809
}

0 commit comments

Comments
 (0)