Skip to content

Commit

Permalink
fix doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
laysakura committed Apr 21, 2019
1 parent a73cf11 commit 2712c95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fid/fid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ impl From<&[bool]> for Fid {
/// ```
/// use fid_rs::Fid;
///
/// let fid = Fid::from(&[false, true, true, true]);
/// let bits = [false, true, true, true];
/// let fid = Fid::from(&bits[..]);
/// assert_eq!(fid.access(0), false);
/// assert_eq!(fid.access(1), true);
/// assert_eq!(fid.access(2), true);
Expand Down

0 comments on commit 2712c95

Please sign in to comment.