• atsamd-hal 0.15.1/src/thumbv6m/adc.rs
    32
        /// * 1/2 VDDANA reference voltage
    33
        #[allow(clippy::self_named_constructors)]
    34
        pub fn adc(adc: ADC, pm: &mut PM, clocks: &mut GenericClockController) -> Self {
  • ctp 0.1.3/src/opts.rs
    33
    impl Opts {
    34
        #[allow(clippy::self_named_constructors)]
    35
        pub fn opts() -> Result<Self, OptError> {
  • cubeb-core 0.10.3/src/error.rs
    28
    impl Error {
    29
        #[allow(clippy::self_named_constructors)]
    30
        pub fn error() -> Self {
  • dae-parser 0.8.8/src/fx/render.rs
    459
        /// Construct a new `WithSid` with a sid.
    460
        #[allow(clippy::self_named_constructors)]
    461
        pub fn with_sid(sid: impl Into<String>, data: T) -> Self {
  • druid-shell 0.8.0/src/backend/wayland/error.rs
    39
    impl Error {
    40
        #[allow(clippy::self_named_constructors)]
    41
        pub fn error(e: impl StdError + 'static) -> Self {
  • farcaster_node 0.8.4/src/service.rs
    282
        #[allow(clippy::self_named_constructors)]
    283
        pub fn service(config: ServiceConfig, runtime: Runtime) -> Result<Self, esb::Error<ServiceId>> {
  • gdnative-core 0.11.3/src/object/mod.rs
    1004
        #[inline]
    1005
        #[allow(clippy::self_named_constructors)]
    1006
        pub fn null() -> Self {
  • geodesy 0.9.2/src/op/mod.rs
    84
        // built-in operators
    85
        #[allow(clippy::self_named_constructors)]
    86
        pub fn op(parameters: RawParameters, ctx: &dyn Context) -> Result<Op, Error> {
  • ic-cdk 0.6.10/src/api/call.rs
    698
        /// Constructs a new `ManualReply`.
    699
        #[allow(clippy::self_named_constructors)]
    700
        pub const fn empty() -> Self {
  • juniper_puff 0.16.0-dev/src/parser/utils.rs
    61
        #[doc(hidden)]
    62
        #[allow(clippy::self_named_constructors)]
    63
        pub fn spanning(v: Vec<Spanning<T>>) -> Option<Spanning<Vec<Spanning<T>>>> {
  • lnp_node 0.9.0-rc.1/src/service.rs
    107
        #[allow(clippy::self_named_constructors)]
    108
        pub fn service<Ext>(
  • naan 0.1.27/src/bifunctor.rs
    83
      /// Wrap this type in [`Join`]
    84
      #[allow(clippy::self_named_constructors)]
    85
      fn join(self) -> Join<F, Self, A>
  • pyo3 0.18.0/tests/test_pyself.rs
    58
    impl Iter {
    59
        #[allow(clippy::self_named_constructors)]
    60
        fn __iter__(slf: PyRef<'_, Self>) -> PyRef<'_, Self> {
  • radians 0.3.0/src/lib.rs
    225
        /// Creates a new angle, wrapping between a negative half turn and a positive half turn.
    226
        #[allow(clippy::self_named_constructors)]
    227
        pub fn wrap(val: F) -> Self {
  • radicle-surf 0.8.0/src/diff.rs
    278
        // For now using conventional approach with the right being "newer".
    279
        #[allow(clippy::self_named_constructors)]
    280
        pub fn diff(left: Directory, right: Directory) -> Self {
  • sea-query 0.28.3/src/expr.rs
    373
        /// ```
    374
        #[allow(clippy::self_named_constructors)]
    375
        pub fn expr<T>(expr: T) -> Self
  • sn_dbc 8.1.2/src/lib.rs
    65
    impl Hash {
    66
        #[allow(clippy::self_named_constructors)]
    67
        /// sha3 256 hash
  • solders-primitives 0.14.3/src/hash.rs
    99
        #[staticmethod]
    100
        #[allow(clippy::self_named_constructors)]
    101
        /// Return a Sha256 hash for the given data.
  • tabbycat 0.1.3/src/graph.rs
    153
        /// ```
    154
        #[allow(clippy::self_named_constructors)]
    155
        pub fn subgraph(id: Option<Identity>, list: StmtList) -> Self {
  • trust-dns-proto 0.22.0/src/op/query.rs
    89
        /// Create a new query from name and type, class defaults to IN
    90
        #[allow(clippy::self_named_constructors)]
    91
        pub fn query(name: Name, query_type: RecordType) -> Self {
  • valence 0.1.0+mc1.19.2/src/text.rs
    86
    #[allow(clippy::self_named_constructors)]
    87
    impl Text {
  • imxrt-ral 0.5.0/src/lib.rs
    6
        non_upper_case_globals,
    7
        clippy::self_named_constructors,
    8
        clippy::module_inception
  • kas-core 0.12.1/src/draw/color.rs
    8
    #![allow(clippy::self_named_constructors)]
  • naan 0.1.27/src/lib.rs
    639
    // shut up
    640
    #![allow(clippy::self_named_constructors)]
    641
    #![allow(clippy::type_complexity)]