Skip to content

Commit 56dd1b2

Browse files
authored
Merge pull request #154 from saschagrunert/docs
Fix docs CI
2 parents 3d50978 + aa8f403 commit 56dd1b2

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/runtime/mod.rs

+4-7
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,8 @@ impl Default for Spec {
183183
impl Spec {
184184
/// Load a new `Spec` from the provided JSON file `path`.
185185
/// # Errors
186-
/// This function will return an [OciSpecError::Io](crate::OciSpecError::Io)
187-
/// if the spec does not exist or an
188-
/// [OciSpecError::SerDe](crate::OciSpecError::SerDe) if it is invalid.
186+
/// This function will return an [OciSpecError::Io] if the spec does not exist or an
187+
/// [OciSpecError::SerDe] if it is invalid.
189188
/// # Example
190189
/// ``` no_run
191190
/// use oci_spec::runtime::Spec;
@@ -202,10 +201,8 @@ impl Spec {
202201

203202
/// Save a `Spec` to the provided JSON file `path`.
204203
/// # Errors
205-
/// This function will return an [OciSpecError::Io](crate::OciSpecError::Io)
206-
/// if a file cannot be created at the provided path or an
207-
/// [OciSpecError::SerDe](crate::OciSpecError::SerDe) if the spec cannot be
208-
/// serialized.
204+
/// This function will return an [OciSpecError::Io] if a file cannot be created at the provided
205+
/// path or an [OciSpecError::SerDe] if the spec cannot be serialized.
209206
/// # Example
210207
/// ``` no_run
211208
/// use oci_spec::runtime::Spec;

0 commit comments

Comments
 (0)