Skip to content

Commit 27317ec

Browse files
committed
Make comment on Resettable impl consistent with others
1 parent 3310a28 commit 27317ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate/register.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ pub fn render(
177177
});
178178
}
179179
if let Some(rv) = res_val.map(util::hex) {
180-
let doc = format!("Register {} `reset()`'s with value {}", register.name, &rv);
180+
let doc = format!("`reset()` method sets {} to value {}", register.name, &rv);
181181
out.extend(quote! {
182182
#[doc = #doc]
183183
impl crate::Resettable for #u_name_pc {

0 commit comments

Comments
 (0)