Skip to content

Commit 7740464

Browse files
waywardmonkeyspvdrz
authored andcommitted
Fix some typos.
1 parent b581fc2 commit 7740464

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ This version was skipped due to some problems on the release workflow.
448448
* The `ParseCallbacks::generated_name_override` method now receives `ItemInfo<'_>` as
449449
argument instead of a `&str`.
450450
* Updated the `clang-sys` crate version to 1.4.0 to support clang 15.
451-
* The return type is now ommited in signatures of functions returning `void`.
451+
* The return type is now omitted in signatures of functions returning `void`.
452452
* Updated the `clap` dependency for `bindgen-cli` to 4.
453453
* Rewrote the `bindgen-cli` argument parser which could introduce unexpected
454454
behavior changes.
@@ -1485,7 +1485,7 @@ Released 2017/10/27
14851485
We <3 folks who [help us find and fix issues via fuzzing][fuzzing]! *hint
14861486
hint*
14871487

1488-
* Added experimental support for the `thiscall` ABI when targetting Rust
1488+
* Added experimental support for the `thiscall` ABI when targeting Rust
14891489
nightly. [#1065][]
14901490

14911491
## Changed

bindgen-cli/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ struct BindgenCommand {
376376
/// Prefix the name of exported symbols.
377377
#[arg(long)]
378378
prefix_link_name: Option<String>,
379-
/// Makes generated bindings `pub` only for items if the items are publically accessible in C++.
379+
/// Makes generated bindings `pub` only for items if the items are publicly accessible in C++.
380380
#[arg(long)]
381381
respect_cxx_access_specs: bool,
382382
/// Always translate enum integer types to native Rust integer types.

bindgen/clang.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ impl Cursor {
876876
unsafe { clang_getCXXAccessSpecifier(self.x) }
877877
}
878878

879-
/// Is the cursor's referent publically accessible in C++?
879+
/// Is the cursor's referent publicly accessible in C++?
880880
///
881881
/// Returns true if self.access_specifier() is `CX_CXXPublic` or
882882
/// `CX_CXXInvalidAccessSpecifier`.

bindgen/ir/comp.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ pub(crate) struct Base {
948948
pub(crate) kind: BaseKind,
949949
/// Name of the field in which this base should be stored.
950950
pub(crate) field_name: String,
951-
/// Whether this base is inherited from publically.
951+
/// Whether this base is inherited from publicly.
952952
pub(crate) is_pub: bool,
953953
}
954954

@@ -978,7 +978,7 @@ impl Base {
978978
true
979979
}
980980

981-
/// Whether this base is inherited from publically.
981+
/// Whether this base is inherited from publicly.
982982
pub(crate) fn is_public(&self) -> bool {
983983
self.is_pub
984984
}

bindgen/ir/var.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ fn duplicated_macro_diagnostic(
489489
#[cfg(feature = "experimental")]
490490
// FIXME (pvdrz & amanjeev): This diagnostic message shows way too often to be actually
491491
// useful. We have to change the logic where this function is called to be able to emit this
492-
// message only when the duplication is an actuall issue.
492+
// message only when the duplication is an actual issue.
493493
//
494494
// If I understood correctly, `bindgen` ignores all `#undef` directives. Meaning that this:
495495
// ```c

0 commit comments

Comments
 (0)