Skip to content

Commit

Permalink
Fix docs, take II
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDiekmann committed Sep 20, 2024
1 parent a3df75c commit b221598
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,6 @@ clippy *arguments: install-cargo-hack
@just in-pr cargo clippy --profile {{profile}} --all-features --all-targets --no-deps {{arguments}}
@just not-in-pr cargo hack --optional-deps --feature-powerset clippy --profile {{profile}} --all-targets --no-deps {{arguments}}

# Creates the documentation for the crate
[no-cd]
doc *arguments:
@just in-pr RUSTDOCFLAGS=-Dwarnings cargo doc --all-features --workspace --no-deps -Zunstable-options -Zrustdoc-scrape-examples {{arguments}}
@just not-in-pr cargo doc --all-features --workspace --no-deps -Zunstable-options -Zrustdoc-scrape-examples {{arguments}}


# Builds the crate
[no-cd]
build *arguments:
Expand Down
4 changes: 3 additions & 1 deletion apps/hash-graph/libs/store/src/data_type/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ pub enum DataTypeQueryPath<'p> {
/// assert_eq!(path, DataTypeQueryPath::Description);
/// # Ok::<(), serde_json::Error>(())
/// ```
///
/// [`DataType`]: type_system::schema::DataType
Description,
/// Corresponds to [`DataType`]'s type.
///
Expand All @@ -148,7 +150,7 @@ pub enum DataTypeQueryPath<'p> {
/// # Ok::<(), serde_json::Error>(())
/// ```
///
/// [`DataType::json_type()`]: type_system::schema::DataType::json_type
/// [`DataType`]: type_system::schema::DataType
Type,
/// Only used internally and not available for deserialization.
OntologyId,
Expand Down

0 comments on commit b221598

Please sign in to comment.