Skip to content

Commit d618604

Browse files
committed
📝 Update docs
1 parent 1f70525 commit d618604

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ impl MyBitfield {
190190
const fn with_int(self, value: u16) -> Self { todo!() }
191191
const fn with_int_checked(self, value: u16) -> Result<Self, ()> { todo!() }
192192

193-
fn set_int(&mut self, value: u16) { todo!() }
194-
fn set_int_checked(&mut self, value: u16) -> Result<(), ()> { todo!() }
193+
const fn set_int(&mut self, value: u16) { todo!() }
194+
const fn set_int_checked(&mut self, value: u16) -> Result<(), ()> { todo!() }
195195

196196
// other field ...
197197
}

0 commit comments

Comments
 (0)