File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ fn gpa_from_pfn_range(pfn_range: &PfnRange, page_idx: u64) -> Option<Gpa> {
3838 Some ( Pfn :: new ( pfn_range. page_file_number ) . gpa_with_offset ( offset) )
3939}
4040
41- // This trait is was we use to be able to implement generic behavior for
42- // 32/64-bit. We'll implement it for [`u32`] & [`u64`].
41+ /// This trait is used to implement generic behavior for both 32/64-bit.
42+ /// We'll implement it for both [`u32`] & [`u64`].
4343trait PtrSize : Sized + Copy + Into < u64 > + From < u32 > {
4444 fn checked_add ( self , rhs : Self ) -> Option < Self > ;
4545}
@@ -298,7 +298,7 @@ fn try_extract_user_modules(
298298
299299/// Filter out [`AddrTranslationError`] errors and turn them into `None`. This
300300/// makes it easier for caller code to write logic that can recover from a
301- /// memory read failure by bailing out for example, and not bubbling up anls
301+ /// memory read failure by bailing out for example, and not bubbling up an
302302/// error.
303303fn filter_addr_translation_err < T > ( res : Result < T > ) -> Result < Option < T > > {
304304 match res {
You can’t perform that action at this time.
0 commit comments