Skip to content

Commit

Permalink
Merge pull request #170 from odilia-app/missing_docs_for_connection
Browse files Browse the repository at this point in the history
Add documentation for AtspiResult; deny missing_docs for atspi-connec…
  • Loading branch information
TTWNO authored Apr 14, 2024
2 parents ca63d6c + 7246294 commit 97e85e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion atspi-connection/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! A connection to AT-SPI.
//! connection may receive any [`atspi_common::events::Event`] structures.

#![deny(clippy::all, clippy::pedantic, clippy::cargo, unsafe_code, rustdoc::all)]
#![deny(clippy::all, clippy::pedantic, clippy::cargo, unsafe_code, rustdoc::all, missing_docs)]
#![allow(clippy::multiple_crate_versions)]

#[cfg(all(not(feature = "async-std"), not(feature = "tokio")))]
Expand All @@ -19,6 +19,7 @@ use futures_lite::stream::{Stream, StreamExt};
use std::ops::Deref;
use zbus::{fdo::DBusProxy, Address, MatchRule, MessageStream, MessageType};

/// A wrapper for results whose error type is [`AtspiError`].
pub type AtspiResult<T> = std::result::Result<T, AtspiError>;

/// A connection to the at-spi bus
Expand Down

0 comments on commit 97e85e4

Please sign in to comment.