Skip to content

Commit

Permalink
chore: fix some typos in comments
Browse files Browse the repository at this point in the history
Signed-off-by: forcedebug <forcedebug@outlook.com>
  • Loading branch information
forcedebug authored and pvdrz committed Apr 23, 2024
1 parent 7e90434 commit 5260c91
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bindgen-tests/tests/headers/constructors.hpp
@@ -1,6 +1,6 @@

class TestOverload {
// This one shouldnt' be generated.
// This one shouldn't be generated.
TestOverload();
public:
TestOverload(int);
Expand Down
2 changes: 1 addition & 1 deletion bindgen-tests/tests/headers/constructors_1_33.hpp
@@ -1,7 +1,7 @@
// bindgen-flags: --rust-target 1.33

class TestOverload {
// This one shouldnt' be generated.
// This one shouldn't be generated.
TestOverload();
public:
/// Calling this should use `mem::unintialized()` and not `MaybeUninit()` as only rust 1.36 includes that.
Expand Down
2 changes: 1 addition & 1 deletion bindgen/ir/comp.rs
Expand Up @@ -1449,7 +1449,7 @@ impl CompInfo {
}
CXCursor_TemplateTypeParameter => {
let param = Item::type_param(None, cur, ctx).expect(
"Item::type_param should't fail when pointing \
"Item::type_param shouldn't fail when pointing \
at a TemplateTypeParameter",
);
ci.template_params.push(param);
Expand Down

0 comments on commit 5260c91

Please sign in to comment.