From 4d322eb42d95b4f69803e1def2fef44a9ebe7ed7 Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Mon, 6 Jul 2020 15:03:29 -0700 Subject: [PATCH] Rename master branch -> main --- Readme.md | 14 +++++++------- cursive-core/src/views/edit_view.rs | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Readme.md b/Readme.md index ca7ac42..5538a2f 100644 --- a/Readme.md +++ b/Readme.md @@ -1,8 +1,8 @@ # Cursive [![crates.io](https://meritbadge.herokuapp.com/cursive)](https://crates.io/crates/cursive) -[![Build Status (travis)](https://travis-ci.org/gyscos/cursive.svg?branch=master)](https://travis-ci.org/gyscos/cursive) -[![Build status (appveyor)](https://ci.appveyor.com/api/projects/status/uk5pww718jsp5x2l/branch/master?svg=true)](https://ci.appveyor.com/project/gyscos/cursive/branch/master) +[![Build Status (travis)](https://travis-ci.org/gyscos/cursive.svg?branch=main)](https://travis-ci.org/gyscos/cursive) +[![Build status (appveyor)](https://ci.appveyor.com/api/projects/status/uk5pww718jsp5x2l/branch/main?svg=true)](https://ci.appveyor.com/project/gyscos/cursive/branch/main) [![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) [![Gitter chat](https://badges.gitter.im/gyscos/cursive.png)](https://gitter.im/cursive-rs/cursive) @@ -46,9 +46,9 @@ fn main() { } ``` -[![Cursive dialog example](https://raw.githubusercontent.com/gyscos/cursive/master/doc/cursive_example.png)](examples/src/bin/dialog.rs) +[![Cursive dialog example](https://raw.githubusercontent.com/gyscos/cursive/main/doc/cursive_example.png)](examples/src/bin/dialog.rs) -Check out the other [examples](https://github.com/gyscos/cursive/tree/master/examples) to get these results, and more: +Check out the other [examples](https://github.com/gyscos/cursive/tree/main/examples) to get these results, and more:
edit.rs example @@ -65,9 +65,9 @@ _(Colors may depend on your terminal configuration.)_ These tutorials may help you get started with cursive: -* [Starting with cursive: (1/3)](https://github.com/gyscos/cursive/tree/master/doc/tutorial_1.md) -* [Starting with cursive: (2/3)](https://github.com/gyscos/cursive/tree/master/doc/tutorial_2.md) -* [Starting with cursive: (3/3)](https://github.com/gyscos/cursive/tree/master/doc/tutorial_3.md) +* [Starting with cursive: (1/3)](https://github.com/gyscos/cursive/tree/main/doc/tutorial_1.md) +* [Starting with cursive: (2/3)](https://github.com/gyscos/cursive/tree/main/doc/tutorial_2.md) +* [Starting with cursive: (3/3)](https://github.com/gyscos/cursive/tree/main/doc/tutorial_3.md) ## Third-party views diff --git a/cursive-core/src/views/edit_view.rs b/cursive-core/src/views/edit_view.rs index c30aadd..1453cf3 100644 --- a/cursive-core/src/views/edit_view.rs +++ b/cursive-core/src/views/edit_view.rs @@ -28,7 +28,7 @@ pub type OnSubmit = dyn Fn(&mut Cursive, &str); /// /// From the [edit example][1]. /// -/// [1]: https://github.com/gyscos/cursive/blob/master/examples/src/bin/edit.rs +/// [1]: https://github.com/gyscos/cursive/blob/main/examples/src/bin/edit.rs /// /// ```rust /// # use cursive_core::Cursive;