Skip to content

Commit 06ac57f

Browse files
committed
fixed broken link in docs
1 parent 7f39b44 commit 06ac57f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

primitives/examples/get_cfg_response.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,5 @@ fn main() {
6161
}
6262
}
6363
});
64-
let val = from_value::<Config>(json).expect("should convert");
65-
// assert!(from_value::<Config>(json).is_ok());
64+
assert!(from_value::<Config>(json).is_ok());
6665
}

sentry/src/routes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@
470470
//!
471471
//! Gets the config that the validator is running on.
472472
//!
473-
//! The route is handled by [`sentry::routes::cfg::get_config()`]
473+
//! The route is handled by [`get_config()`](sentry::routes::cfg::get_config())
474474
//!
475475
//! Response: [`Config`](primitives::Config)
476476
//!

0 commit comments

Comments
 (0)