Update links to main branch

This commit is contained in:
skim 2020-10-13 01:24:54 -07:00 committed by GitHub
parent 4b81beaf05
commit 5b904ddbd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
**ruma-api-macros** provides a procedural macro for easily generating [ruma-api]-compatible API endpoints. **ruma-api-macros** provides a procedural macro for easily generating [ruma-api]-compatible API endpoints.
You define the endpoint's metadata, request fields, and response fields, and the macro generates all the necessary types and implements all the necessary traits. You define the endpoint's metadata, request fields, and response fields, and the macro generates all the necessary types and implements all the necessary traits.
[ruma-api]: https://github.com/ruma/ruma/tree/master/ruma-api [ruma-api]: https://github.com/ruma/ruma/tree/main/ruma-api
## Usage ## Usage

View File

@ -5,7 +5,7 @@
//! re-exports in ruma-api. Also note that for technical reasons, the //! re-exports in ruma-api. Also note that for technical reasons, the
//! `ruma_api!` macro is only documented in ruma-api, not here. //! `ruma_api!` macro is only documented in ruma-api, not here.
//! //!
//! [ruma-api]: https://github.com/ruma/ruma/tree/master/ruma-api //! [ruma-api]: https://github.com/ruma/ruma/tree/main/ruma-api
#![allow(clippy::cognitive_complexity)] #![allow(clippy::cognitive_complexity)]
// Remove this once https://github.com/rust-lang/rust/issues/54883 becomes stable // Remove this once https://github.com/rust-lang/rust/issues/54883 becomes stable

View File

@ -183,7 +183,7 @@ Breaking changes:
The crate has been redesign to focus on conversions between an endpoint's request and response types and Hyper request and response types. Implementations are expected to be generated via [ruma-api-macros]. The crate has been redesign to focus on conversions between an endpoint's request and response types and Hyper request and response types. Implementations are expected to be generated via [ruma-api-macros].
[ruma-api-macros]: https://github.com/ruma/ruma/tree/master/ruma-api-macros [ruma-api-macros]: https://github.com/ruma/ruma/tree/main/ruma-api-macros
# 0.3.0 # 0.3.0

View File

@ -2,4 +2,4 @@
**ruma-events-macros** provides a procedural macro for easily generating event types for [ruma-events]. **ruma-events-macros** provides a procedural macro for easily generating event types for [ruma-events].
[ruma-events]: https://github.com/ruma/ruma/tree/master/ruma-events [ruma-events]: https://github.com/ruma/ruma/tree/main/ruma-events

View File

@ -3,7 +3,7 @@
//! //!
//! See the documentation for the individual macros for usage details. //! See the documentation for the individual macros for usage details.
//! //!
//! [ruma-events]: https://github.com/ruma/ruma/tree/master/ruma-events //! [ruma-events]: https://github.com/ruma/ruma/tree/main/ruma-events
#![deny(missing_copy_implementations, missing_debug_implementations, missing_docs)] #![deny(missing_copy_implementations, missing_debug_implementations, missing_docs)]