Skip to content

Commit

Permalink
chore: fix cargo doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Jul 29, 2024
1 parent f06793c commit 7e23e90
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion rust/agama-cli/src/profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub enum ProfileCommands {
/// Evaluate a profile, injecting the hardware information from D-Bus
///
/// For an example of Jsonnet-based profile, see
/// https://github.com/openSUSE/agama/blob/master/rust/agama-lib/share/examples/profile.jsonnet
/// <https://github.com/openSUSE/agama/blob/master/rust/agama-lib/share/examples/profile.jsonnet>
Evaluate {
/// Path to jsonnet file.
path: PathBuf,
Expand Down
2 changes: 1 addition & 1 deletion rust/agama-cli/src/questions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub enum QuestionsCommands {
/// mode or change the answer in automatic mode.
///
/// Please check Agama documentation for more details and examples:
/// https://github.com/openSUSE/agama/blob/master/doc/questions.md
/// <https://github.com/openSUSE/agama/blob/master/doc/questions.md>
Answers {
/// Path to a file containing the answers in YAML format.
path: String,
Expand Down
2 changes: 1 addition & 1 deletion rust/agama-lib/src/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ impl Display for AuthToken {

/// Claims that are included in the token.
///
/// See https://datatracker.ietf.org/doc/html/rfc7519 for reference.
/// See <https://datatracker.ietf.org/doc/html/rfc7519> for reference.
#[derive(Debug, Serialize, Deserialize)]
pub struct TokenClaims {
pub exp: i64,
Expand Down
2 changes: 1 addition & 1 deletion rust/agama-lib/src/base_http_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ impl BaseHTTPClient {
}

const NO_TEXT: &'static str = "(Failed to extract error text from HTTP response)";
/// Builds [`BackendError`] from response.
/// Builds [`ServiceError::BackendError`] from response.
///
/// It contains also processing of response body, that is why it has to be async.
///
Expand Down
2 changes: 1 addition & 1 deletion rust/agama-lib/src/dbus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ macro_rules! property_from_dbus {
/// NOTE: we could follow a different approach like building our own type (e.g.
/// using the newtype idiom) and offering a better API.
///
/// * `source`: hash map containing non-onwed values ([zbus::zvariant::Value]).
/// * `source`: hash map containing non-onwed values ([enum@zbus::zvariant::Value]).
pub fn to_owned_hash(source: &HashMap<&str, Value<'_>>) -> HashMap<String, OwnedValue> {
let mut owned = HashMap::new();
for (key, value) in source.iter() {
Expand Down
2 changes: 1 addition & 1 deletion rust/agama-lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//! This library offers an API to interact with Agama services. At this point, the library allows:
//!
//! * Reading and writing [installation settings](install_settings::InstallSettings).
//! * Monitoring the [progress](progress).
//! * Monitoring the [progress].
//! * Triggering actions through the [manager] (e.g., starting installation).
//!
//! ## Handling installation settings
Expand Down
2 changes: 1 addition & 1 deletion rust/agama-locale-data/src/keyboard/xkb_config_registry.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! This module aims to read the information in the X Keyboard Configuration Database.
//!
//! https://freedesktop.org/Software/XKeyboardConfig
//! <https://freedesktop.org/Software/XKeyboardConfig>

use quick_xml::de::from_str;
use serde::Deserialize;
Expand Down

0 comments on commit 7e23e90

Please sign in to comment.