Skip to content

Commit

Permalink
fix doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
preyasshah committed Jul 17, 2024
1 parent 0a99f23 commit 77d056d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion martian/src/stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ impl Resource {
/// ```rust
/// use martian::Resource;
///
/// let resource = Resource::new().mem_gb(2).vmem_gb(4).special(1, 8);
/// let resource = Resource::new().mem_gb(2).vmem_gb(4).special("gpu_count1_mem8".to_owned());
/// assert_eq!(resource.get_mem_gb(), Some(2));
/// assert_eq!(resource.get_vmem_gb(), Some(4));
/// assert_eq!(resource.get_threads(), None);
Expand Down

0 comments on commit 77d056d

Please sign in to comment.