Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlie Davis committed May 15, 2024
1 parent fa0ab0b commit 4e4addb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 11 deletions.
5 changes: 4 additions & 1 deletion crates/libs/core/src/com_object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ use std::borrow::Borrow;

/// Identifies types that can be placed in `ComObject`.
///
/// The `#[implement]` macro generates implementations of this trait.
/// This trait links types that can be placed in `ComObject` with the types generated by the
/// `#[implement]` macro. The `#[implement]` macro generates implementations of this trait.
/// The generated types contain the vtable layouts and refcount-related fields for the COM
/// object implementation.
///
/// This trait is an implementation detail of the Windows crates.
/// User code should not deal directly with this trait.
Expand Down
2 changes: 1 addition & 1 deletion crates/tests/implement_core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "implement_core"
name = "test_implement_core"
version = "0.1.0"
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion crates/tests/implement_core/src/com_object.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! Unit tests for `windows_core::ComObject`
//!
use std::borrow::Borrow;
use std::sync::atomic::{AtomicBool, Ordering::SeqCst};
use std::sync::Arc;
Expand Down
8 changes: 0 additions & 8 deletions crates/tests/standalone/src/b_none.rs
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
#![allow(
non_snake_case,
non_upper_case_globals,
non_camel_case_types,
dead_code,
clippy::all
)]
windows_targets::link!("kernel32.dll" "system" fn GetTickCount() -> u32);

0 comments on commit 4e4addb

Please sign in to comment.