Skip to content
Snippets Groups Projects
Commit 9cf07a03 authored by Lulu's avatar Lulu
Browse files

Merge branch 'fixes' into 'master'

Fixes

See merge request !24
parents 812b6ba6 d719695d
No related branches found
No related tags found
1 merge request!24Fixes
Pipeline #381673350 passed
......@@ -251,7 +251,6 @@ mod handle {
let query = handle.search("spotify").unwrap();
assert!(!query.is_empty());
assert!(query[0].url.is_some());
}
#[test]
......
......@@ -137,7 +137,6 @@ mod tests {
let query = handle.search("spotify").await.unwrap();
assert!(!query.is_empty());
assert!(query[0].url.is_some());
}
#[tokio::test]
......
......@@ -29,7 +29,7 @@
//! }
//!
//! // Use `info` to get info about a list of packages. Not-found packages are silently ignored.
//! let pkgs = raur.info(&["spotify", "discord-canary"]).await?;
//! let pkgs = raur.info(&["spotify", "discord-ptb"]).await?;
//! assert_eq!(pkgs.len(), 2);
//!
//! for pkg in pkgs {
......
......@@ -3,7 +3,7 @@ use async_trait::async_trait;
/// The main trait for RPC functionality.
///
/// This trait is implemented by [`Handle`], which is what you should use at run-time.
/// This trait is implemented by [`Handle`](crate::Handle), which is what you should use at run-time.
/// You can also use the mock implementation of this trait in e.g. tests.
///
/// The trait itself is implemented using [`async-trait`].
......@@ -14,7 +14,7 @@ pub trait Raur {
/// Performs an AUR info request.
///
/// You probably want to use [`info`] instead.
/// You probably want to use [`info`](Self::info) instead.
///
/// This function sends an info request to the AUR RPC. This kind of request takes a list
/// of package names and returns a list of AUR [`Package`](struct.Package.html)s who's name exactly matches
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment