Skip to content

Commit

Permalink
More clippy and docs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bsilver8192 committed Aug 14, 2022
1 parent b2cf7fb commit 661300b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion parser/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ use crate::{directives::get_directives, RustPath};

use quote::quote;

#[derive(PartialEq, Clone, Debug, Hash)]
#[derive(PartialEq, Eq, Clone, Debug, Hash)]
pub enum UnsafePolicy {
AllFunctionsSafe,
AllFunctionsUnsafe,
Expand Down
2 changes: 1 addition & 1 deletion src/subclass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub use autocxx_macro::subclass as is_subclass;
/// #[subclass(superclass("MyCppSuperclass"))]
/// struct Bar {};
/// ```
/// * as a directive within the [autocxx::include_cpp] macro, in which case you
/// * as a directive within the [crate::include_cpp] macro, in which case you
/// must provide two arguments of the superclass and then the
/// subclass:
/// ```
Expand Down

0 comments on commit 661300b

Please sign in to comment.