@@ -321,7 +321,7 @@ fn nonzero_trailing_zeros() {
321321}
322322
323323#[ test]
324- fn test_nonzero_isolate_most_significant_one ( ) {
324+ fn test_nonzero_isolate_highest_one ( ) {
325325 // Signed most significant one
326326 macro_rules! nonzero_int_impl {
327327 ( $( $T: ty) ,+) => {
@@ -335,8 +335,8 @@ fn test_nonzero_isolate_most_significant_one() {
335335 let mut i = 0 ;
336336 while i < <$T>:: BITS {
337337 assert_eq!(
338- NonZero :: <$T>:: new( BITS >> i) . unwrap( ) . isolate_most_significant_one ( ) ,
339- NonZero :: <$T>:: new( MOST_SIG_ONE >> i) . unwrap( ) . isolate_most_significant_one ( )
338+ NonZero :: <$T>:: new( BITS >> i) . unwrap( ) . isolate_highest_one ( ) ,
339+ NonZero :: <$T>:: new( MOST_SIG_ONE >> i) . unwrap( ) . isolate_highest_one ( )
340340 ) ;
341341 i += 1 ;
342342 }
@@ -356,8 +356,8 @@ fn test_nonzero_isolate_most_significant_one() {
356356 let mut i = 0 ;
357357 while i < <$T>:: BITS {
358358 assert_eq!(
359- NonZero :: <$T>:: new( BITS >> i) . unwrap( ) . isolate_most_significant_one ( ) ,
360- NonZero :: <$T>:: new( MOST_SIG_ONE >> i) . unwrap( ) . isolate_most_significant_one ( ) ,
359+ NonZero :: <$T>:: new( BITS >> i) . unwrap( ) . isolate_highest_one ( ) ,
360+ NonZero :: <$T>:: new( MOST_SIG_ONE >> i) . unwrap( ) . isolate_highest_one ( ) ,
361361 ) ;
362362 i += 1 ;
363363 }
@@ -371,7 +371,7 @@ fn test_nonzero_isolate_most_significant_one() {
371371}
372372
373373#[ test]
374- fn test_nonzero_isolate_least_significant_one ( ) {
374+ fn test_nonzero_isolate_lowest_one ( ) {
375375 // Signed least significant one
376376 macro_rules! nonzero_int_impl {
377377 ( $( $T: ty) ,+) => {
@@ -385,8 +385,8 @@ fn test_nonzero_isolate_least_significant_one() {
385385 let mut i = 0 ;
386386 while i < <$T>:: BITS {
387387 assert_eq!(
388- NonZero :: <$T>:: new( BITS << i) . unwrap( ) . isolate_least_significant_one ( ) ,
389- NonZero :: <$T>:: new( LEAST_SIG_ONE << i) . unwrap( ) . isolate_least_significant_one ( )
388+ NonZero :: <$T>:: new( BITS << i) . unwrap( ) . isolate_lowest_one ( ) ,
389+ NonZero :: <$T>:: new( LEAST_SIG_ONE << i) . unwrap( ) . isolate_lowest_one ( )
390390 ) ;
391391 i += 1 ;
392392 }
@@ -406,8 +406,8 @@ fn test_nonzero_isolate_least_significant_one() {
406406 let mut i = 0 ;
407407 while i < <$T>:: BITS {
408408 assert_eq!(
409- NonZero :: <$T>:: new( BITS << i) . unwrap( ) . isolate_least_significant_one ( ) ,
410- NonZero :: <$T>:: new( LEAST_SIG_ONE << i) . unwrap( ) . isolate_least_significant_one ( ) ,
409+ NonZero :: <$T>:: new( BITS << i) . unwrap( ) . isolate_lowest_one ( ) ,
410+ NonZero :: <$T>:: new( LEAST_SIG_ONE << i) . unwrap( ) . isolate_lowest_one ( ) ,
411411 ) ;
412412 i += 1 ;
413413 }
0 commit comments