Skip to content

Commit

Permalink
Make Objectdomains conversion from primitive public
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Nov 17, 2023
1 parent af1983c commit e06c637
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,8 @@ impl ObjectCapability {
}

impl ObjectDomain {
fn from_primitive(domains: u16) -> Vec<Self> {
/// Create ObjectDomain from a u16
pub fn from_primitive(domains: u16) -> Vec<Self> {
let mut v = Vec::new();

if domains & 1 != 0 {
Expand Down

0 comments on commit e06c637

Please sign in to comment.