diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 64c0ba0..667572a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -149,7 +149,7 @@ jobs: - uses: actions/checkout@v3 - uses: hecrj/setup-rust-action@v1 - run: rustup target add ${{ matrix.target }} - - run: cargo build --verbose --target=${{ matrix.target }} --no-default-features --features ${{ matrix.frontend_feature }} --features ${{ matrix.backend_feature }} + - run: cargo build --verbose --target=${{ matrix.target }} --no-default-features --features ${{ matrix.frontend_feature }},${{ matrix.backend_feature }} benches: name: cargo bench compilation diff --git a/src/errors.rs b/src/errors.rs index 66aba7c..1780c0e 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -87,7 +87,7 @@ impl Debug for InternalError { impl Error for InternalError {} impl InternalError { - /// Convert `InternalError` into `InternalError + /// Convert `InternalError` into `InternalError` pub fn into_custom(self) -> InternalError { match self { Self::Custom(_) => unreachable!(), @@ -184,7 +184,7 @@ impl From<::core::convert::Infallible> for ProtocolError { } impl ProtocolError { - /// Convert `ProtocolError` into `ProtocolError + /// Convert `ProtocolError` into `ProtocolError` pub fn into_custom(self) -> ProtocolError { match self { Self::LibraryError(internal_error) => {