Skip to content

Commit ad5905e

Browse files
authored
docs: Add missing docstrings (#1881)
Clippy checks were failing because of these missing docstrings.
1 parent 6a4708c commit ad5905e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎qis-compiler/rust/lib.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ fn wrap_main<'c>(
342342
Ok(())
343343
}
344344

345+
/// Compilation arguments.
345346
#[derive(Debug)]
346347
pub struct CompileArgs<'a> {
347348
/// Entry point symbol
@@ -361,6 +362,7 @@ pub struct CompileArgs<'a> {
361362
}
362363

363364
impl<'a> CompileArgs<'a> {
365+
/// Create compiler arguments.
364366
pub fn new(
365367
name: &impl ToString,
366368
target_machine: &'a TargetMachine,

0 commit comments

Comments
 (0)