Skip to content

Commit

Permalink
Fix doctests.
Browse files Browse the repository at this point in the history
  • Loading branch information
nfachan committed Oct 14, 2024
1 parent e34e68c commit fae19c6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/maelstrom-util/src/cache/fs/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@ use strum::Display;
///
/// Here is an example that illustrates most of the features:
/// ```
/// fs! {
/// use maelstrom_util::fs;
/// let entry = fs! {
/// subdir {
/// file_in_subdir(b"123"),
/// symlink_in_subdir -> "../subdir2",
/// nested_subdir {
/// file_in_nested_subdir(43),
/// file_in_nested_subdir(b"contents"),
/// },
/// },
/// "subdir2" {},
/// "file"(b"456"),
/// "symlink" -> "subdir",
/// }
/// };
/// ```
///
/// More specifically, this macro expects an "entry list". An entry list consists of zero or more
Expand Down

0 comments on commit fae19c6

Please sign in to comment.