Skip to content

Commit f5d54ec

Browse files
committed
Fixed dangling links in docs
1 parent 7ebe196 commit f5d54ec

File tree

10 files changed

+17
-18
lines changed

10 files changed

+17
-18
lines changed

brane-ast/src/dsl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub fn dtype_dsl_to_ast(value: brane_dsl::DataType) -> DataType {
6060
/// Converts from an [executable Datatype](DataType) to the DSL one.
6161
///
6262
/// # Arguments
63-
/// - `dtype`: The [`DataType`](DataType) to convert.
63+
/// - `dtype`: The [`DataType`] to convert.
6464
///
6565
/// # Returns
6666
/// A converted [`brane_dsl::DataType`].

brane-chk/src/apis/reasoner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ use tracing::{Instrument as _, Level, debug, error, span};
3232

3333

3434
/***** ERRORS *****/
35-
/// Defines the errors originating in the [`Reasoner`] API.
35+
/// Defines the errors originating in the reasoner API.
3636
#[derive(Debug, Error)]
3737
pub enum Error {
3838
#[error("Failed to create the KID resolver")]
@@ -56,7 +56,7 @@ pub enum Error {
5656
/// Handler for `GET /v2/context` (i.e., retrieving reasoner context).
5757
///
5858
/// Out:
59-
/// - 200 OK with a [`ContextResponse`] detailling the relevant reasoner information; or
59+
/// - 200 OK with a [`GetContextResponse`] detailling the relevant reasoner information; or
6060
/// - 500 INTERNAL SERVER ERROR with a message what went wrong.
6161
pub fn get_context<R>(State(this): State<Arc<R>>, Extension(auth): Extension<User>) -> impl Send + Future<Output = (StatusCode, String)>
6262
where

brane-chk/src/reasonerconn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// Yes
1010
//
1111
// Description:
12-
//! Defines a wrapper around an [`EFlintJsonReasonerConnector`] that
12+
//! Defines a wrapper around an [`EFlintHaskellReasonerConnector`] that
1313
//! includes a particular policy interface.
1414
//
1515

brane-chk/src/workflow/compile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ pub fn pc_to_id(wir: &ast::Workflow, pc: ProgramCounter) -> String { format!("{}
450450

451451

452452

453-
/// Compiles from a Brane [WIR](brane_ast::Workflow) to a policy reasoner [Workflow].
453+
/// Compiles from a Brane [WIR](ast::Workflow) to a policy reasoner [Workflow].
454454
///
455455
/// # Arguments
456456
/// - `wf`: The WIR to compile.

brane-chk/src/workflow/eflint.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
// Yes
1010
//
1111
// Description:
12-
//! Implements a compiler from a [`Workflow`] to a series of
13-
//! [`efint_json`] [`Phrase`]s.
12+
//! Implements a compiler from a [`Workflow`] to a series of eFLINT phrases.
1413
//
1514

1615
use std::collections::{HashMap, HashSet};
@@ -473,7 +472,7 @@ impl<'w> Visitor<'w> for EFlintCompiler<'w> {
473472

474473

475474
/***** LIBRARY FUNCTIONS *****/
476-
/// Compiles a [`Workflow`] to a series of [`efint_json`] [`Phrase`]s.
475+
/// Compiles a [`Workflow`] to a series of eFLINT phrases.
477476
///
478477
/// # Arguments
479478
/// - `wf`: The [`Workflow`] to compile.

brane-chk/src/workflow/preprocess.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ pub enum Error {
220220
UnknownTask { id: usize },
221221
/// Unknown function given.
222222
UnknownFunc { id: FunctionId },
223-
/// A [`Call`](ast::Edge::Call)-edge was encountered while we didn't know of a function ID on the stack.
223+
/// A [`Call`](Edge::Call)-edge was encountered while we didn't know of a function ID on the stack.
224224
CallingWithoutId { pc: ResolvedProgramCounter },
225225
}
226226
impl Display for Error {

brane-cli/src/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ pub async fn initialize_instance<O: Write, E: Write>(
128128
/// - `profile`: If given, prints the profile timings to stdout if reported by the remote.
129129
///
130130
/// # Returns
131-
/// A [`FullValue`] carrying the result of the snippet (or [`FullValue::Void`]), and a [`ProgramCounter`] in case a [`FullValue::Data`] is returned telling us which edge downloaded it.
131+
/// A [`FullValue`] carrying the result of the snippet (or [`FullValue::Void`]).
132132
///
133133
/// # Errors
134134
/// This function may error if anything in the whole shebang crashed. This can be things client-side, but also remote-side.

brane-tsk/src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ pub enum AuthorizeError {
412412
/// The user to authorize does not execute the given task.
413413
#[error("Authorized user '{}' does not match '{}' user in workflow\n\nWorkflow:\n{:#?}\n", authenticated, who, workflow)]
414414
AuthorizationUserMismatch { who: String, authenticated: String, workflow: Workflow },
415-
/// An edge was referenced to be executed which wasn't an [`Edge::Node`](brane_ast::ast::Edge).
415+
/// An edge was referenced to be executed which wasn't an [`Edge::Node`](specifications::wir::Edge).
416416
#[error("Edge {pc} in workflow is not an Edge::Node but an Edge::{got}")]
417417
AuthorizationWrongEdge { pc: ProgramCounter, got: String },
418418
/// An edge index given was out-of-bounds for the given function.

specifications/src/checking.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ pub mod deliberation {
121121

122122

123123
/***** API BODIES *****/
124-
/// Defines the request to send to the [`Server::check_workflow()`] endpoint.
124+
/// Defines the request to send to the workflow validation endpoint.
125125
#[derive(Clone, Debug, Deserialize, Serialize)]
126126
pub struct CheckWorkflowRequest {
127127
/// The usecase that refers to the API to consult for state.
@@ -220,7 +220,7 @@ pub mod deliberation {
220220

221221

222222

223-
/// Defines the request to send to the [`Server::check_task()`] endpoint.
223+
/// Defines the request to send to the task validation endpoint.
224224
#[derive(Clone, Debug, Deserialize, Serialize)]
225225
pub struct CheckTaskRequest {
226226
/// The usecase that refers to the API to consult for state.
@@ -338,7 +338,7 @@ pub mod deliberation {
338338

339339

340340

341-
/// Defines the request to send to the [`Server::check_transfer()`] endpoint.
341+
/// Defines the request to send to the transfer validation endpoint.
342342
#[derive(Clone, Debug, Deserialize, Serialize)]
343343
pub struct CheckTransferRequest {
344344
/// The usecase that refers to the API to consult for state.

specifications/src/working.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ impl JobServiceClient {
385385
/// - `request`: The [`CheckWorkflowRequest`] to send to the endpoint.
386386
///
387387
/// # Returns
388-
/// The [`CheckReply`] the endpoint returns.
388+
/// The [`CheckResponse`] the endpoint returns.
389389
///
390390
/// # Errors
391391
/// This function errors if either we failed to send the request or the endpoint itself failed to process it.
@@ -410,7 +410,7 @@ impl JobServiceClient {
410410
/// - `request`: The [`CheckTaskRequest`] to send to the endpoint.
411411
///
412412
/// # Returns
413-
/// The [`CheckReply`] the endpoint returns.
413+
/// The [`CheckResponse`] the endpoint returns.
414414
///
415415
/// # Errors
416416
/// This function errors if either we failed to send the request or the endpoint itself failed to process it.
@@ -514,7 +514,7 @@ pub trait JobService: 'static + Send + Sync {
514514
/// - `request`: The ([`tonic::Request`]-wrapped) [`CheckWorkflowRequest`] containing the relevant details.
515515
///
516516
/// # Returns
517-
/// A [`CheckReply`] for this request, wrapped in a [`tonic::Response`].
517+
/// A [`CheckResponse`] for this request, wrapped in a [`tonic::Response`].
518518
///
519519
/// # Errors
520520
/// This function may error (i.e., send back a `tonic::Status`) whenever it fails.
@@ -529,7 +529,7 @@ pub trait JobService: 'static + Send + Sync {
529529
/// - `request`: The ([`tonic::Request`]-wrapped) [`CheckTaskRequest`] containing the relevant details.
530530
///
531531
/// # Returns
532-
/// A [`CheckReply`] for this request, wrapped in a [`tonic::Response`].
532+
/// A [`CheckResponse`] for this request, wrapped in a [`tonic::Response`].
533533
///
534534
/// # Errors
535535
/// This function may error (i.e., send back a `tonic::Status`) whenever it fails.

0 commit comments

Comments
 (0)