Skip to content

Commit

Permalink
Nit re examples::iter doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Oct 26, 2024
1 parent 22c06d9 commit c2b780d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/src/examples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ pub fn build() -> Result<()> {

/// Returns an iterator over the example libraries' directories.
/// - If the `workspace` argument is true, workspace directories (e.g., general and supplementary)
/// will be included, but their member directories will not be included.
/// - If the `workspace` argument is false, the member directories will be included, but the
/// workspace directories will not be included.
/// are included, but their member directories are not.
/// - If the `workspace` argument is false, the member directories are included, but the workspace
/// directories are not.
pub fn iter(workspace: bool) -> Result<impl Iterator<Item = Result<PathBuf>>> {
#[cfg_attr(dylint_lib = "general", allow(abs_home_path))]
let path_buf = Path::new(env!("CARGO_MANIFEST_DIR")).join("../examples");
Expand Down

0 comments on commit c2b780d

Please sign in to comment.