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 @@ -360,14 +360,14 @@ impl Level {
360360 }
361361 }
362362
363- /// Get the weakest statically supported SIMD level.
363+ /// Get the strongest statically supported SIMD level.
364364 ///
365365 /// That is, if your compilation run ambiently declares that a target feature is enabled,
366366 /// this method will take that into account.
367367 /// In most cases, you should use [`Level::new`] or [`Level::try_detect`].
368368 /// This method is mainly useful for libraries, where:
369369 ///
370- /// 1) Your crate features requests that you not use the standard library, i.e. doesn't enable
370+ /// 1) Your crate features request that you not use the standard library, i.e. doesn't enable
371371 /// your `"std"` crate feature reason (so you can't use [`Level::new`] and
372372 /// [`Level::try_detect`] returns `None`); AND
373373 /// 2) Your caller does not provide a [`Level`]; AND
@@ -422,7 +422,7 @@ impl Level {
422422
423423 /// Create a scalar fallback level, which uses no SIMD instructions.
424424 ///
425- /// This is primarily intended for tests; most users should prefer [`Level::new`].
425+ /// This is primarily intended for tests; most users should prefer [`Level::new`] or [`Level::baseline`] .
426426 #[ inline]
427427 #[ cfg( feature = "force_support_fallback" ) ]
428428 pub const fn fallback ( ) -> Self {
You can’t perform that action at this time.
0 commit comments